cfg

package
v0.0.0-...-bb3bbde Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	Data    map[string]string
	ArrData map[string][]string
}

func (*Cfg) Bool

func (this *Cfg) Bool(key string, defaultValue bool) bool

func (*Cfg) BoolOrFalse

func (this *Cfg) BoolOrFalse(key string) bool

func (*Cfg) Int

func (this *Cfg) Int(key string, defaultValue int) int

func (*Cfg) Int64

func (this *Cfg) Int64(key string, defaultValue int64) int64

func (*Cfg) Int64OrZero

func (this *Cfg) Int64OrZero(key string) int64

func (*Cfg) IntOrZero

func (this *Cfg) IntOrZero(key string) int

func (*Cfg) List

func (this *Cfg) List(key string) []string

func (*Cfg) Load

func (this *Cfg) Load(file string)

func (*Cfg) Str

func (this *Cfg) Str(key string, defaultValue string) string

func (*Cfg) StrOrEmpty

func (this *Cfg) StrOrEmpty(key string) string

Jump to

Keyboard shortcuts

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