Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunInterruptHandler ¶
func RunInterruptHandler(m *RunManager)
RunInterruptHandler runs an interrupt handler ontop of the RunManager.
Types ¶
type RunManager ¶
type RunManager struct { Context context.Context WaitingGroupShutdown *sync.WaitGroup ErrChan chan<- error Cancel func() }
RunManager can Run services while managing startup and Shutdown.
func (*RunManager) RunInterruptHandler ¶
func (m *RunManager) RunInterruptHandler()
RunInterruptHandler runs an interrupt handler ontop of the RunManager.
Click to show internal directories.
Click to hide internal directories.