configer

package
v0.0.0-...-1770afa Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

configer.go

Index

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

func (cfg *Configer) GetBoolean(keyPath ...string) (bool, error)

func (*Configer) GetFloat64

func (cfg *Configer) GetFloat64(keyPath ...string) (float64, error)

func (*Configer) GetGetBooleanWithDefault

func (cfg *Configer) GetGetBooleanWithDefault(defVal bool, keyPath ...string) bool

func (*Configer) GetGetFloat64WithDefault

func (cfg *Configer) GetGetFloat64WithDefault(defVal float64, keyPath ...string) float64

func (*Configer) GetInt64

func (cfg *Configer) GetInt64(keyPath ...string) (int64, error)

func (*Configer) GetInt64WithDefault

func (cfg *Configer) GetInt64WithDefault(defVal int64, keyPath ...string) int64

func (*Configer) GetString

func (cfg *Configer) GetString(keyPath ...string) (string, error)

func (*Configer) GetStringWithDefault

func (cfg *Configer) GetStringWithDefault(defVal string, keyPath ...string) string

func (*Configer) StopWatch

func (cfg *Configer) StopWatch()

Jump to

Keyboard shortcuts

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