Documentation ¶
Overview ¶
监听进程退出信号,具体信息,查看Linux的signal
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignalConfig ¶
type SignalConfig struct {
Enable bool `mapstructure:"enable" json:"enable" yaml:"enable"` // 是否开启
}
func (SignalConfig) Load ¶
func (s SignalConfig) Load()
Click to show internal directories.
Click to hide internal directories.