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