Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands map[string]cli.CommandFactory
Commands is the mapping of all the available commands.
Functions ¶
func MakeSigUSR2Ch ¶
func MakeSigUSR2Ch() chan struct{}
MakeSigUSR2Ch returns a channel that can be used for SIGUSR2 goroutine logging. This channel will send a message for every SIGUSR2 received.
func MakeSighupCh ¶
func MakeSighupCh() chan struct{}
MakeSighupCh returns a channel that can be used for SIGHUP reloading. This channel will send a message for every SIGHUP received.
func RunCustom ¶
func RunCustom(args []string, runOpts *RunOptions) int
RunCustom allows passing in a base command template to pass to other commands. Currently, this is only used for setting a custom token helper.
Types ¶
Click to show internal directories.
Click to hide internal directories.