Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewManager)
Functions ¶
Types ¶
type Handler ¶
type Handler interface { IsMatched(tp string) bool Work(runtime *ProcessRuntime) error }
type ProcessManager ¶
type ProcessManager interface { Push(judgement *models.Judgement, block *engine.Block, inputs *models.Slots) <-chan *models.Slots Fetch(judgementId, processId, processType string, ignoreLock bool) *ProcessRuntime Finish(element *ProcessRuntime, slots *models.Slots) error FinishWithError(element *ProcessRuntime, message string) error Reserve(element *ProcessRuntime) bool }
func NewManager ¶
func NewManager(logger *zap.Logger, ins []Handler) ProcessManager
Click to show internal directories.
Click to hide internal directories.