Documentation ¶
Overview ¶
ProcessManager
uses to build DependencyInjection Container
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FinishPoint ¶
type FinishPoint string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) AddProcess ¶
type Process ¶
type Process struct { BeforeFinishPoint FinishPoint // this process must happen after this FinishPoint come out (may be empty) AfterFinishPoint FinishPoint // this process must happen before this FinishPoint come out (may be empty) ResultCondition FinishPoint // this process will product a FinishPoint ,if it runs (may be empty) Work func() error // the work to do }
if some condition is not exist ,they are error return
Click to show internal directories.
Click to hide internal directories.