# Functions
ListenAddr builds the address and port goiardi is configured to listen on.
ParseConfigOptions reads and applies arguments from the command line and the configuration file, merging them together as needed, with command line options taking precedence over options in the config file.
ServerBaseURL returns the base scheme+hostname portion of a goiardi URL.
ServerHostname returns the hostname and port goiardi is configured to use.
UsingDB returns true if we're using any db engine, false if using the in-memory data store.
No description provided by the author
# Constants
No description provided by the author
The chef version we're at least aiming for, even if it's not complete yet.
The default time difference allowed between the server's clock and the time in the X-OPS-TIMESTAMP header.
The goiardi version.
# Variables
Config struct with the options specified on the command line or in the config file.
GitHash is the git hash (supplied with '-ldflags "-X config.GitHash=<hash>"') of goiardi when it was compiled.
Key is the initialized shovey public and private keys.
LogLevelNames give convenient, easier to remember than number name for the different levels of logging.
# Structs
Conf is the master struct for holding configuration options.
MySQLdb holds MySQL connection options.
Options holds options set from the command line or (in most cases) environment variables, which are then merged with the options in Conf.
PostgreSQLdb holds Postgres connection options.
SigningKeys are the public and private keys for signing shovey requests.