diff options
Diffstat (limited to 'modules/indexer/issues/queue.go')
-rw-r--r-- | modules/indexer/issues/queue.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/indexer/issues/queue.go b/modules/indexer/issues/queue.go new file mode 100644 index 0000000000..6f4ee4c13a --- /dev/null +++ b/modules/indexer/issues/queue.go @@ -0,0 +1,11 @@ +// Copyright 2018 The Gitea 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 issues + +// Queue defines an interface to save an issue indexer queue +type Queue interface { + Run() error + Push(*IndexerData) +} |