Documentation
¶
Index ¶
- func New() config.Config
- type Config
- func (c *Config) Get(key string) (interface{}, error)
- func (c *Config) GetBool(key string) (bool, error)
- func (c *Config) GetFloat64(key string) (float64, error)
- func (c *Config) GetInt64(key string) (int64, error)
- func (c *Config) GetString(key string) (string, error)
- func (c *Config) Set(key string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
}
Config defines a viper backed config
func (*Config) GetFloat64 ¶
GetFloat64 returns the float64 value of the key
Click to show internal directories.
Click to hide internal directories.