//
pkg.gl
Category
github.com/gdy666/lucky
thirdlib
gdylib
service
package
2.10.8+incompatible
Repository:
https://github.com/gdy666/lucky.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
6
Dependents
6
Files
256 SLOC
#
Functions
GetService
GetService 查询服务根据服务名称.
Message
Message 发送消息到service,根据serviceName.
NewService
NewService 创建服务对象.
Restart
Restart 服务重启.
Start
Start 服务启动.
Stop
Stop 服务停止,根据serviceName.
#
Constants
StateRunning
StateRunning 正在运行.
StateStop
StateStop 未启动.
StateStopping
StateStopping 正在结束.
#
Structs
Service
Service 服务.
ServiceMsg
ServiceMsg 服务消息.