Documentation ¶
Overview ¶
Package signal provides a mockable wrapper for os/signal.
Index ¶
- type Impl
- func (*Impl) Ignore(sig ...os.Signal)
- func (*Impl) Ignored(sig os.Signal) bool
- func (*Impl) Notify(c chan<- os.Signal, sig ...os.Signal)
- func (*Impl) NotifyContext(parent context.Context, signals ...os.Signal) (ctx context.Context, stop context.CancelFunc)
- func (*Impl) Reset(sig ...os.Signal)
- func (*Impl) Stop(c chan<- os.Signal)
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.