Documentation ¶
Overview ¶
Package closer provides signaling channel for shutdown
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Closer ¶
type Closer struct {
// contains filtered or unexported fields
}
Closer allows for each signaling a channel for shutdown
func NewCloserWithParent ¶
NewCloserWithParent creates a new instance of Closer with a parent context
func (*Closer) Close ¶
func (c *Closer) Close()
Close sends a signal to trigger the ctx done channel
Click to show internal directories.
Click to hide internal directories.