Versions in this module Expand all Collapse all v1 v1.0.0 Dec 19, 2023 Changes in this version + var Config = Configuration + var SignalHandlerModule = NewSignalHandler() + type Configuration struct + SupportSignal bool + func (c *Configuration) Close() error + func (c *Configuration) Init() error + func (c *Configuration) Name() string + type Handler interface + Process func(s os.Signal, ud interface{}) error + type InterruptSignalHandler struct + func (ish *InterruptSignalHandler) Process(s os.Signal, ud interface{}) error + type KillSignalHandler struct + func (ish *KillSignalHandler) Process(s os.Signal, ud interface{}) error + type SignalHandler struct + func NewSignalHandler() *SignalHandler + func (this *SignalHandler) ClearHandler(s os.Signal) int + func (this *SignalHandler) ProcessSignal() + func (this *SignalHandler) RegisteHandler(s os.Signal, h Handler, ud interface{}) error + func (this *SignalHandler) UnregisteHandler(s os.Signal, h Handler) error