Documentation ¶
Index ¶
- Constants
- func All() (map[string]Setting, error)
- func Bool(settingName string) bool
- func Default(settingName string) error
- func Float(settingName string) float64
- func InitSettings()
- func Int(settingName string) int
- func Int64(settingName string) int64
- func Set(settingName string, value interface{}) error
- func String(settingName string) string
- func Value(settingName string) interface{}
- type Setting
Constants ¶
View Source
const DS = "core" + string(os.PathSeparator) + "settings.ds"
DS is the location of the sessions datastore file
Variables ¶
This section is empty.
Functions ¶
func InitSettings ¶
func InitSettings()
InitSettings sets the initial settings values for any settings with a SetFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.