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.
type Runner ¶
Runner incorporates a Run and a Shutdown method to control a service.
Directories ¶
Path | Synopsis |
---|---|
runnables
|
|
sshtunnel/sshtunnelcmd
Package runs ssh tunnels.
|
Package runs ssh tunnels. |
Click to show internal directories.
Click to hide internal directories.