ing
This commit is contained in:
parent
108d2317b7
commit
b8ad668263
|
@ -6,10 +6,10 @@ import (
|
|||
)
|
||||
|
||||
type Service interface {
|
||||
Init() error
|
||||
Start() error
|
||||
Stop() error
|
||||
Destroy() error
|
||||
InitService() error
|
||||
StartService() error
|
||||
StopService() error
|
||||
DestroyService() error
|
||||
}
|
||||
|
||||
type ServiceMethodType int
|
||||
|
@ -23,10 +23,10 @@ const (
|
|||
|
||||
var (
|
||||
serviceMethodTypeID = map[ServiceMethodType]string{
|
||||
ServiceMethodInit: "Init",
|
||||
ServiceMethodStart: "Start",
|
||||
ServiceMethodStop: "Stop",
|
||||
ServiceMethodDestroy: "Destroy",
|
||||
ServiceMethodInit: "InitService",
|
||||
ServiceMethodStart: "StartService",
|
||||
ServiceMethodStop: "StopService",
|
||||
ServiceMethodDestroy: "DestroyService",
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user