Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewManager)
Functions ¶
This section is empty.
Types ¶
type ProcessElement ¶
type ProcessManager ¶
type ProcessManager interface { List() Push(blockId int, process *models.Process) <-chan *models.Slots Fetch(judgementId, processId, processType string, ignoreLock bool) *ProcessElement Finish(element *ProcessElement, slots *models.Slots) error FinishWithError(element *ProcessElement, message string) error Reserve(element *ProcessElement) bool }
func GetManager ¶
func GetManager() ProcessManager
func NewManager ¶
func NewManager(logger *zap.Logger, ins []Handler) ProcessManager
Click to show internal directories.
Click to hide internal directories.