Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shutdown ¶
type Shutdown struct {
// contains filtered or unexported fields
}
Shutdown is a struct that coordinates shutdowns
func (*Shutdown) WaitBegin ¶
func (s *Shutdown) WaitBegin()
WaitBegin blocks until shutdown is started
func (*Shutdown) WaitBeginCh ¶
WaitBeginCh returns a channel that programs can block on. The channel will close when the shutdown is started.
func (*Shutdown) WaitComplete ¶
func (s *Shutdown) WaitComplete()
WaitComplete blocks until shutdown is finished
Click to show internal directories.
Click to hide internal directories.