Documentation ¶
Index ¶
- type Config
- func (s *Config) AppendSection(name string) config.Section
- func (s *Config) Save(w io.Writer) (err error)
- func (s *Config) Section(name string) (config.Section, bool)
- func (s *Config) Sections(name string) ([]config.Section, bool)
- func (s *Config) Value(name string) (value.Value, bool)
- func (s *Config) ValueDefault(name string, defaultVal interface{}) interface{}
- func (s *Config) ValueSetup(name string, ptr interface{}) bool
- type Section
- func (s *Section) Save(w io.Writer) (err error)
- func (s *Section) SetValue(name string, val interface{})
- func (s *Section) Value(name string) (value.Value, bool)
- func (s *Section) ValueDefault(name string, defaultVal interface{}) interface{}
- func (s *Section) ValueSetup(name string, ptr interface{}) bool
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) ValueDefault ¶
func (*Config) ValueSetup ¶
type Section ¶
type Section struct {
// contains filtered or unexported fields
}
func (*Section) ValueDefault ¶
func (*Section) ValueSetup ¶
Click to show internal directories.
Click to hide internal directories.