Documentation ¶
Overview ¶
Package "config" is a central location for configuration options. It also contains config file parsing logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ApiToken = "secret" // Token for API Access ApiAddress = "https://127.0.0.1:1566" // Listen uri for the API (scheme defaults to https) BuildDir = "/var/db/slurp/build/" // Build staging directory ConfigFile = "" // Configuration file to load Insecure = true // Disable tls key checking to hoarder LogLevel = "info" // Log level to output [fatal|error|info|debug|trace] SshAddr = "127.0.0.1:1567" // Address ssh server will listen on (ip:port combo) SshHostKey = "/var/db/slurp/slurp_rsa" // SSH host (private) key file StoreAddr = "hoarders://127.0.0.1:7410" // Storage host address StoreToken = "" // Storage auth token Version = false // Print version info and exit Log lumber.Logger // Central logger for slurp )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.