diff --git a/core/interfaces/Service.go b/core/interfaces/Service.go index 5a4e2e9..0572ba3 100644 --- a/core/interfaces/Service.go +++ b/core/interfaces/Service.go @@ -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", } )