Documentation ¶
Index ¶
- func GetRunEnv() string
- func GetWorkDir() string
- func InitFrame(instances ...core.Cpt)
- func LoadCpts(instances ...core.Cpt)
- func Logger(name string, tag string) *zerolog.Logger
- func SetRunEnv(env string)
- func SetWorkDir(dir string)
- func SignalBindFunc(handler func(sig os.Signal), signals ...os.Signal)
- func SignalNotify()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWorkDir ¶
func GetWorkDir() string
func SignalBindFunc ¶
系统信号操作相关
func SignalNotify ¶
func SignalNotify()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.