Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { AppEnv string `mapstructure:"BAMBOOFW_APP_ENV"` EnableDebugMode bool `mapstructure:"BAMBOOFW_ENABLE_DEBUG_MODE"` MongoURI string `mapstructure:"BAMBOOFW_MONGODB_URI"` MongoDBName string `mapstructure:"BAMBOOFW_MONGODB_NAME"` EtcdPeerURLS []string `mapstructure:"BAMBOOFW_ETCD_PEER_URLS"` EtcdUsername string `mapstructure:"BAMBOOFW_ETCD_USERNAME"` EtcdPassword string `mapstructure:"BAMBOOFW_ETCD_PASSWORD"` EtcdCACert string `mapstructure:"BAMBOOFW_ETCD_CA_CERT"` EtcdServerCert string `mapstructure:"BAMBOOFW_ETCD_SERVER_CERT"` EtcdServerKey string `mapstructure:"BAMBOOFW_ETCD_SERVER_KEY"` EtcdWatcherPath string `mapstructure:"BAMBOOFW_ETCD_WATCHER_PATH"` }
func New ¶
func New() *Configuration
Click to show internal directories.
Click to hide internal directories.