helper

package
v0.0.0-...-d57715f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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) GetFile

func (b *ConfigBuilder) GetFile(name string) *ini.File

func (*ConfigBuilder) GetSection

func (b *ConfigBuilder) GetSection() *ini.Section

func (*ConfigBuilder) Section

func (b *ConfigBuilder) Section(name string) *ConfigBuilder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL