Documentation ¶
Index ¶
- func BoolParameter(sec, name string) (val bool, err error)
- func Float64ArrayParameter(sec, name string) (val []float64, err error)
- func Float64Parameter(sec, name string) (val float64, err error)
- func Init(file string) (err error)
- func IntArrayParameter(sec, name string) (val []int, err error)
- func IntParameter(sec, name string) (val int, err error)
- func StringParameter(sec, name string) (val string, err error)
- func UintParameter(sec, name string) (val uint, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolParameter ¶
BoolParameter returns the value of the parameter as a bool legal values are 0,1,true,false,yes,no (case insensitive)
func Float64ArrayParameter ¶
Float64ArrayParameter returns the value of the parameter as a slice of float64s
func Float64Parameter ¶
Float64Parameter returns the value of the parameter as a float64
func IntArrayParameter ¶
IntArrayParameter returns the value of the parameter as a slice of int64s
func IntParameter ¶
IntParameter returns the value of the parameter as an int
func StringParameter ¶
StringParameter returns the value of a given parameter as a string
func UintParameter ¶
UintParameter returns the value of the parameter as an uint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.