Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Global is a globally-scoped logger than can be used if you have no other choice Global logr.Logger )
Functions ¶
func ChannelWrapper ¶
ChannelWrapper runs an error-returning func on a background goroutine. If the func returns an error, that is send down the channel that's returned.
func InstallSignalHandlers ¶
InstallSignalHandlers registers handlers for common OS signals, and closes the returned channel if they're received.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.