Documentation ¶
Index ¶
Constants ¶
View Source
const ( RunnerModeOnce runnerMode = iota // run once RunnerModeLoopAttached // run in the foreground and restart automatically in case of an error except if the first run failed RunnerModeLoopDetached // run as a daemon (run in the background, restarted automatically in case of an error except if the first run failed) )
View Source
const RunnerReliefDuration = 2 * time.Second
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type RunnerWentToBackground ¶
type RunnerWentToBackground struct{}
func (RunnerWentToBackground) Error ¶
func (RunnerWentToBackground) Error() string
Click to show internal directories.
Click to hide internal directories.