Documentation ¶
Index ¶
- Variables
- func AddDaemon(p *dbschema.NgingForeverProcess, run ...bool) *goforever.Process
- func DaemonCommonHook(p *goforever.Process)
- func OnExitedDaemon(processM *dbschema.NgingForeverProcess)
- func ParseArgsSlice(a string) []string
- func ParseEnvSlice(a string) []string
- func RestartDaemon()
- func RunDaemon()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Daemon = goforever.Default DaemonDefaultHook = DaemonCommonHook )
Functions ¶
func DaemonCommonHook ¶
func OnExitedDaemon ¶
func OnExitedDaemon(processM *dbschema.NgingForeverProcess)
OnExitedDaemon 当值守程序达到最大重试次数退出时
func ParseArgsSlice ¶
func ParseEnvSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.