Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignalFunc ¶
type SignalServer ¶
type SignalServer map[os.Signal]SignalFunc
func NewServer ¶
func NewServer() SignalServer
func (SignalServer) Register ¶
func (s SignalServer) Register(sig os.Signal, f SignalFunc) SignalServer
func (SignalServer) Registers ¶
func (s SignalServer) Registers(m map[os.Signal]SignalFunc) SignalServer
func (SignalServer) Serve ¶
func (s SignalServer) Serve(done <-chan struct{})
func (SignalServer) Start ¶
func (s SignalServer) Start(done <-chan struct{})
Click to show internal directories.
Click to hide internal directories.