Documentation ¶
Index ¶
Constants ¶
View Source
const (
// APIVersion defines the compatibility version of the API and is appended to each API route
APIVersion = "1"
)
View Source
const EnvConfigPrefix = ""
EnvConfigPrefix determines the PREFIX to use for env var overrides
Variables ¶
View Source
var ( // Version of application Version = "devel" // CommitSHA is the short SHA hash of the git commit CommitSHA = "unknown" // BuildDate is the date this application was compiled BuildDate = "unknown" )
Functions ¶
func ConfigInit ¶
ConfigInit instantiates and validates the configuration options optionally it can print out a configuration summary
func PrintVersion ¶
func PrintVersion()
PrintVersion prints the current version information to stdout
func StartBackendDeamon ¶
func StartBackendDeamon(cfgFile string)
StartBackendDeamon a blocking function that starts the backend processes
Types ¶
Click to show internal directories.
Click to hide internal directories.