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