ing
This commit is contained in:
parent
347fda0442
commit
761d497270
|
@ -15,18 +15,18 @@ type Service interface {
|
|||
type ServiceMethodType int
|
||||
|
||||
const (
|
||||
Init ServiceMethodType = iota
|
||||
Start
|
||||
Stop
|
||||
Destroy
|
||||
ServiceMethodInit ServiceMethodType = iota
|
||||
ServiceMethodStart
|
||||
ServiceMethodStop
|
||||
ServiceMethodDestroy
|
||||
)
|
||||
|
||||
var (
|
||||
serviceMethodTypeID = map[ServiceMethodType]string{
|
||||
Init: "Init",
|
||||
Start: "Start",
|
||||
Stop: "Stop",
|
||||
Destroy: "Destroy",
|
||||
ServiceMethodInit: "Init",
|
||||
ServiceMethodStart: "Start",
|
||||
ServiceMethodStop: "Stop",
|
||||
ServiceMethodDestroy: "Destroy",
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user