package
Version:
v0.0.0-...-5a3d5de
Opens a new window with list of versions in this module.
Published: Oct 15, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CmdName is the binary name for the daemon.
App encapsulate commands and options of the daemon, which can be controlled by env variables and config files.
New registers commands and return a new App.
Err returns the potential error returned by the command.
func (a App) Hup() (shouldQuit bool)
Hup reloads configuration file on disk and return false to signal you shouldn't quit.
Quit gracefully shutdown the service.
Run executes the command and associated process. It returns an error on syntax/usage error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.