Documentation ¶
Index ¶
- type BaseConfig
- func (self BaseConfig) DBConfig() *DBConfig
- func (self BaseConfig) GetFeature(key string) bool
- func (self BaseConfig) GetIntValue(key string) int
- func (self BaseConfig) GetOptionalIntValue(key string, defaultValue int) int
- func (self BaseConfig) GetOptionalValue(key string, defaultValue string) string
- func (self BaseConfig) GetValue(key string) string
- func (self BaseConfig) Load()
- func (self BaseConfig) LoadTestConfig(options map[string]interface{}) error
- func (self BaseConfig) LoadWithOptions(options map[string]interface{})
- func (self BaseConfig) Newrelic() newrelic.Config
- type Config
- type DBConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶
type BaseConfig struct { }
func (BaseConfig) DBConfig ¶
func (self BaseConfig) DBConfig() *DBConfig
func (BaseConfig) GetFeature ¶
func (self BaseConfig) GetFeature(key string) bool
func (BaseConfig) GetIntValue ¶
func (self BaseConfig) GetIntValue(key string) int
func (BaseConfig) GetOptionalIntValue ¶
func (self BaseConfig) GetOptionalIntValue(key string, defaultValue int) int
func (BaseConfig) GetOptionalValue ¶
func (self BaseConfig) GetOptionalValue(key string, defaultValue string) string
func (BaseConfig) GetValue ¶
func (self BaseConfig) GetValue(key string) string
func (BaseConfig) Load ¶
func (self BaseConfig) Load()
func (BaseConfig) LoadTestConfig ¶
func (self BaseConfig) LoadTestConfig(options map[string]interface{}) error
func (BaseConfig) LoadWithOptions ¶
func (self BaseConfig) LoadWithOptions(options map[string]interface{})
func (BaseConfig) Newrelic ¶
func (self BaseConfig) Newrelic() newrelic.Config
type DBConfig ¶
type DBConfig struct {
// contains filtered or unexported fields
}
func LoadDbConf ¶
func LoadDbConf() *DBConfig
func (*DBConfig) ConnMaxLifetime ¶
Click to show internal directories.
Click to hide internal directories.