Documentation
¶
Overview ¶
configer.go
Index ¶
- type Configer
- func (cfg *Configer) GetBoolean(keyPath ...string) (bool, error)
- func (cfg *Configer) GetFloat64(keyPath ...string) (float64, error)
- func (cfg *Configer) GetGetBooleanWithDefault(defVal bool, keyPath ...string) bool
- func (cfg *Configer) GetGetFloat64WithDefault(defVal float64, keyPath ...string) float64
- func (cfg *Configer) GetInt64(keyPath ...string) (int64, error)
- func (cfg *Configer) GetInt64WithDefault(defVal int64, keyPath ...string) int64
- func (cfg *Configer) GetString(keyPath ...string) (string, error)
- func (cfg *Configer) GetStringWithDefault(defVal string, keyPath ...string) string
- func (cfg *Configer) StopWatch()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configer ¶
type Configer struct {
// contains filtered or unexported fields
}
func GetConfiger ¶
func GetConfiger() *Configer
func (*Configer) GetGetBooleanWithDefault ¶
func (*Configer) GetGetFloat64WithDefault ¶
func (*Configer) GetInt64WithDefault ¶
func (*Configer) GetStringWithDefault ¶
Click to show internal directories.
Click to hide internal directories.