![Notice](/static/shared/icon/info_gm_grey_24dp.svg)
The highest tagged major version is
v2.
package
Version:
v2.0.0+incompatible
Opens a new window with list of versions in this module.
Published: Apr 22, 2020
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
*Secrets
ProxyURL string `yaml:"proxy_url"`
}
Config represents the application's configuration file.
GetConfig returns the application configuration specified by the config file.
type Secrets struct {
Account string `envconfig:"ACCOUNT"`
ID string `envconfig:"ACCESS_ID"`
Key string `envconfig:"ACCESS_KEY"`
ProxyUser string `envconfig:"PROXY_USER"`
ProxyPass string `envconfig:"PROXY_PASS"`
}
Secrets represents the application's sensitive configuration file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.