This commit is contained in:
crusader 2018-04-17 19:01:24 +09:00
parent 347fda0442
commit 761d497270

View File

@ -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",
}
)