Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultLogger ... DefaultLogger = false // DefaultLoggerLevel is the default logging level. DefaultLoggerLevel = "warn" // DefaultLoggerFormat is the default format of the logger DefaultLoggerFormat = "text" // DefaultTermSignal is the signal to term the agent. DefaultTermSignal = syscall.SIGTERM // DefaultReloadSignal is the default signal for reload. DefaultReloadSignal = syscall.SIGHUP // DefaultKillSignal is the default signal for termination. DefaultKillSignal = syscall.SIGINT // DefaultVerbose is the default verbosity. DefaultVerbose = false )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // File is a config file provided File string // Verbose toggles the verbosity Verbose bool // ReloadSignal ReloadSignal syscall.Signal // TermSignal TermSignal syscall.Signal // KillSignal KillSignal syscall.Signal // Logger ... Logger *Logger }
Config contains a configuration for Autobot
Click to show internal directories.
Click to hide internal directories.