config

package
v1.5.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Daemon            = goforever.Default
	DaemonDefaultHook = DaemonCommonHook
)

Functions

func AddDaemon

func AddDaemon(p *dbschema.NgingForeverProcess, run ...bool) *goforever.Process

func DaemonCommonHook

func DaemonCommonHook(p *goforever.Process)

func OnExitedDaemon

func OnExitedDaemon(processM *dbschema.NgingForeverProcess)

OnExitedDaemon 当值守程序达到最大重试次数退出时

func ParseArgsSlice

func ParseArgsSlice(a string) []string

func ParseEnvSlice

func ParseEnvSlice(a string) []string

func RestartDaemon

func RestartDaemon()

RestartDaemon 重启所有已登记的进程

func RunDaemon

func RunDaemon()

RunDaemon 运行值守程序

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL