Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandleFunc ¶
type HandleFunc func()
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) CloseSignalHandler ¶
func (t *Handler) CloseSignalHandler()
func (*Handler) InitSignalHandler ¶
func (*Handler) ListenSignal ¶
func (t *Handler) ListenSignal()
func (*Handler) RegisterSignal ¶
func (t *Handler) RegisterSignal(signal os.Signal, handleFunc HandleFunc) bool
Click to show internal directories.
Click to hide internal directories.