Documentation
¶
Index ¶
- func GetBool(f *goconfig.ConfigFile, key string, section string) (bool, error)
- func GetConfFile(configfilepath string) (c *goconfig.ConfigFile, err error)
- func GetInt64(f *goconfig.ConfigFile, key string, section string) (int64, error)
- func GetString(f *goconfig.ConfigFile, key string, section string) (string, error)
- func GetVarsBoolean(key string) (b bool, ok bool)
- func GetVarsInteger(key string) (i int, ok bool)
- func GetVarsString(key string) (s string, ok bool)
- func InitCfgVars(configfilepath string) error
- func SetVarsBoolean(key string, b bool)
- func SetVarsInteger(key string, i int)
- func SetVarsString(key, s string)
- type RunVars
- type Vars
- func (v *Vars) GetVarsBool(key string) (b bool, ok bool)
- func (v *Vars) GetVarsInt(key string) (i int, ok bool)
- func (v *Vars) GetVarsStr(key string) (s string, ok bool)
- func (v *Vars) SetVarsBool(key string, b bool)
- func (v *Vars) SetVarsInt(key string, i int)
- func (v *Vars) SetVarsStr(key, s string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfFile ¶
func GetConfFile(configfilepath string) (c *goconfig.ConfigFile, err error)
func GetVarsBoolean ¶
func GetVarsInteger ¶
func GetVarsString ¶
func InitCfgVars ¶
func SetVarsBoolean ¶
func SetVarsInteger ¶
func SetVarsString ¶
func SetVarsString(key, s string)
Types ¶
Click to show internal directories.
Click to hide internal directories.