Documentation ¶
Index ¶
- type ConfigBuilder
- func (b *ConfigBuilder) AddBoolKeys(conf []string) *ConfigBuilder
- func (b *ConfigBuilder) AddMap(conf map[string]string) *ConfigBuilder
- func (b *ConfigBuilder) AddMaps(configs ...map[string]string) *ConfigBuilder
- func (b *ConfigBuilder) BuilderToString() (string, error)
- func (b *ConfigBuilder) Clear(name string) *ConfigBuilder
- func (b *ConfigBuilder) Err() error
- func (b *ConfigBuilder) GetFile(name string) *ini.File
- func (b *ConfigBuilder) GetSection() *ini.Section
- func (b *ConfigBuilder) Section(name string) *ConfigBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigBuilder ¶
type ConfigBuilder struct {
// contains filtered or unexported fields
}
func NewConfigBuilder ¶
func NewConfigBuilder(content ...[]byte) *ConfigBuilder
func (*ConfigBuilder) AddBoolKeys ¶
func (b *ConfigBuilder) AddBoolKeys(conf []string) *ConfigBuilder
func (*ConfigBuilder) AddMap ¶
func (b *ConfigBuilder) AddMap(conf map[string]string) *ConfigBuilder
func (*ConfigBuilder) AddMaps ¶
func (b *ConfigBuilder) AddMaps(configs ...map[string]string) *ConfigBuilder
func (*ConfigBuilder) BuilderToString ¶
func (b *ConfigBuilder) BuilderToString() (string, error)
func (*ConfigBuilder) Clear ¶
func (b *ConfigBuilder) Clear(name string) *ConfigBuilder
func (*ConfigBuilder) Err ¶
func (b *ConfigBuilder) Err() error
func (*ConfigBuilder) GetSection ¶
func (b *ConfigBuilder) GetSection() *ini.Section
func (*ConfigBuilder) Section ¶
func (b *ConfigBuilder) Section(name string) *ConfigBuilder
Click to show internal directories.
Click to hide internal directories.