Documentation ¶
Index ¶
Constants ¶
View Source
const ( Environment = "environment" DatabaseHost = "database_host" DatabasePort = "database_port" DatabaseName = "database_database" DatabaseUsername = "database_username" DatabasePassword = "database_password" MicrocosmDomain = "microcosm_domain" ListenPort = "listen_port" MemcachedHost = "memcached_host" MemcachedPort = "memcached_port" S3Endpoint = "s3_endpoint" S3BucketName = "s3_bucket_name" S3AccessKeyID = "s3_access_key_id" S3SecretAccessKey = "s3_secret_access_key" SendGridAPIKey = "sendgrid_api_key" ErrorLogFilename = "error_log_filename" WarnLogFilename = "warn_log_filename" DebugLogFilename = "debug_log_filename" PyroscopeApp = "pyroscope_app" PyroscopeAddress = "pyroscope_address" PyroscopeUser = "pyroscope_user" PyroscopePassword = "pyroscope_password" )
Config file keys
View Source
const APISection string = "api"
APISection is the [api] section of the config file
View Source
const ConfigFilePath string = "/etc/microcosm/api.conf"
ConfigFilePath is the path to the config file
Variables ¶
View Source
var ConfigBool = map[string]bool{}
ConfigBool contains the bool values for the given config keys
View Source
var ConfigInt64s = map[string]int64{}
ConfigInt64s contains the int64 values for the given config keys
View Source
var ConfigStrings = map[string]string{}
ConfigStrings contains the string values for the given config keys
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.