Documentation
¶
Index ¶
- Variables
- func Done(f ...func(sig os.Signal))
- func Restartable()
- func Restarts(f ...func(sig os.Signal))
- func Start()
- func Stop()
- func Wait()
- type Binder
- type BinderInterface
- type Monitor
- func (this *Monitor) AutoBind(binder Binder) *Monitor
- func (this *Monitor) Bind(f func(sig os.Signal)) *Monitor
- func (this *Monitor) Done(f func(sig os.Signal))
- func (this *Monitor) Restartable()
- func (this *Monitor) Restarts(f func(sig os.Signal))
- func (this *Monitor) Start(sig ...os.Signal)
- func (this *Monitor) Stop()
- func (this *Monitor) Unbind(f func(os.Signal)) *Monitor
- func (this *Monitor) Wait()
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Restartable ¶
func Restartable()
Types ¶
type BinderInterface ¶
type BinderInterface interface {
SignalBinder() Binder
}
type Monitor ¶
func AutoBindInterface ¶
func AutoBindInterface(binder BinderInterface) *Monitor
func (*Monitor) Restartable ¶
func (this *Monitor) Restartable()
Click to show internal directories.
Click to hide internal directories.