Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegDaemon ¶ added in v0.9.19
func RegDaemon(typ DaemonType, creator plugin.Creator[Daemon], cfgCreator plugin.CfgCreator[any])
RegDaemon register a Daemon creator and its config creator.
func SetLogLevel ¶ added in v0.12.0
func SetLogLevel(lvl string)
SetLogLevel change log level dynamically after Boot.
func UnRegDaemon ¶ added in v0.11.13
func UnRegDaemon(typ ...DaemonType)
Types ¶
type DaemonType ¶ added in v0.5.5
type DaemonType string
type OnConfigLoadedFunc ¶ added in v0.11.13
type Option ¶ added in v0.2.6
type Option func(*booter)
func DefaultLogCfg ¶ added in v0.6.3
func OnConfigLoaded ¶ added in v0.11.13
func OnConfigLoaded(f OnConfigLoadedFunc) Option
Click to show internal directories.
Click to hide internal directories.