Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LazyQuiter ¶
type LazyQuiter struct {
// contains filtered or unexported fields
}
func NewLazyQuiter ¶
func NewLazyQuiter(sig ...os.Signal) *LazyQuiter
func (*LazyQuiter) Wait ¶
func (q *LazyQuiter) Wait() os.Signal
func (*LazyQuiter) WaitQuit ¶
func (q *LazyQuiter) WaitQuit(return_num int)
type RunGroupQuiter ¶
type RunGroupQuiter struct { SignalNotifyFunc func(sig os.Signal) // contains filtered or unexported fields }
func NewRunGroupQuiter ¶
func NewRunGroupQuiter(sig ...os.Signal) *RunGroupQuiter
func (*RunGroupQuiter) Run ¶
func (q *RunGroupQuiter) Run() error
func (*RunGroupQuiter) Stop ¶
func (q *RunGroupQuiter) Stop(err error)
Click to show internal directories.
Click to hide internal directories.