mirror of
https://github.com/go-gitea/gitea
synced 2025-08-02 23:58:35 +00:00
Refactor issue indexer (#5363)
This commit is contained in:
committed by
techknowlogick
parent
094263db4d
commit
830ae61456
11
modules/indexer/issues/queue.go
Normal file
11
modules/indexer/issues/queue.go
Normal file
@@ -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)
|
||||
}
|
Reference in New Issue
Block a user