Documentation ¶
Index ¶
- type Config
- func (c *Config) GetBool(path string) bool
- func (c *Config) GetDuration(path string) time.Duration
- func (c *Config) GetInt(path string) int
- func (c *Config) GetInt64(path string) int64
- func (c *Config) GetMap(path string) map[string]interface{}
- func (c *Config) GetMapString(path string) map[string]string
- func (c *Config) GetString(path string) string
- func (c *Config) GetStringSlice(path string) []string
- func (c *Config) GetTime(path string) time.Time
- func (c *Config) SetDefault(path string, val interface{}) *Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) GetStringSlice ¶
func (*Config) SetDefault ¶
Click to show internal directories.
Click to hide internal directories.