Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunFuncWithSignalHandling ¶
func RunFuncWithSignalHandling(f func(context.Context, *config.Config) error, runFlags RunFlags) int
RunFuncWithSignalHandling runs the given function with signal handling. When a CTRL-C is received, the context will be cancelled on which the function can act upon. It returns the exitCode
Types ¶
Click to show internal directories.
Click to hide internal directories.