Documentation
¶
Index ¶
- type Config
- func (c *Config) Get(path string) interface{}
- func (c *Config) GetBool(path string) bool
- func (c *Config) GetFloat32(path string) float32
- func (c *Config) GetFloat64(path string) float64
- func (c *Config) GetInt(path string) int
- func (c *Config) GetIntSlice(path string) []int
- func (c *Config) GetRequired(path string) (interface{}, error)
- func (c *Config) GetRequiredBool(path string) (bool, error)
- func (c *Config) GetRequiredFloat32(path string) (float32, error)
- func (c *Config) GetRequiredFloat64(path string) (float64, error)
- func (c *Config) GetRequiredInt(path string) (int, error)
- func (c *Config) GetRequiredIntSlice(path string) ([]int, error)
- func (c *Config) GetRequiredString(path string) (string, error)
- func (c *Config) GetRequiredStringSlice(path string) ([]string, error)
- func (c *Config) GetString(path string) string
- func (c *Config) GetStringSlice(path string) []string
- func (c *Config) OverrideFromReader(provider Provider, reader io.Reader) error
- func (c *Config) SetFromReader(provider Provider, reader io.Reader) error
- type Provider
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) GetFloat32 ¶
func (*Config) GetFloat64 ¶
func (*Config) GetIntSlice ¶
func (*Config) GetRequired ¶
func (*Config) GetRequiredFloat32 ¶
func (*Config) GetRequiredFloat64 ¶
func (*Config) GetRequiredIntSlice ¶
func (*Config) GetRequiredStringSlice ¶
func (*Config) GetStringSlice ¶
func (*Config) OverrideFromReader ¶
Click to show internal directories.
Click to hide internal directories.