config

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: AGPL-3.0 Imports: 14 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