Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockListener ¶
MockListener is a `Listener` that allows the developer to fake signals for testing purposes.
func NewMockListener ¶
func NewMockListener(signals ...os.Signal) MockListener
NewMockListener returns the an implementation of a `MockListener`. This instance allows the programmer to send fake signals for testing.
Click to show internal directories.
Click to hide internal directories.