aboutsummaryrefslogtreecommitdiffstats
path: root/modules/indexer/issues/queue.go
blob: 6f4ee4c13ae79f451e25986c06ceb7b83bd90e20 (plain)
1
2
3
4
5
6
7
8
9
10
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)
}