From 914ffa496f8e8e9948ca8c5596da6b0d3c17555d Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 8 May 2014 19:17:43 -0400 Subject: Show private repository activities in dashboard if has access --- modules/workers/worker.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 modules/workers/worker.go (limited to 'modules/workers/worker.go') diff --git a/modules/workers/worker.go b/modules/workers/worker.go new file mode 100644 index 00000000..97535b2b --- /dev/null +++ b/modules/workers/worker.go @@ -0,0 +1,10 @@ +// Copyright 2014 The Gogs Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package workers + +// Work represents a background work interface of any kind. +type Work interface { + Do() error +} -- cgit v1.2.3