Documentation
¶
Index ¶
- type Config
- func (config *Config) GetBool(section, key string) bool
- func (config *Config) GetBoolOrDefault(section, key string, defaultValue bool) bool
- func (config *Config) GetInt(section, key string) int
- func (config *Config) GetIntOrDefault(section, key string, defaultValue int) int
- func (config *Config) GetString(section, key string) string
- func (config *Config) GetStringOrDefault(section, key string, defaultValue string) string
- func (config *Config) SetString(section, key string, value string)
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 DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) GetBoolOrDefault ¶
func (*Config) GetIntOrDefault ¶
func (*Config) GetStringOrDefault ¶
Click to show internal directories.
Click to hide internal directories.