Documentation ¶
Index ¶
- func Get(key string) interface{}
- func GetBool(key string) bool
- func GetBoold(key string, d bool) bool
- func GetBoold_c(key string, d bool) (bool, chan int)
- func GetInt(key string) int
- func GetIntd(key string, d int) int
- func GetIntd_c(key string, d int) (int, chan int)
- func GetString(key string) string
- func GetStringd(key string, d string) string
- func GetStringd_c(key string, d string) (string, chan int)
- func Getd(key string, d interface{}) interface{}
- func Getd_c(key string, d interface{}) (interface{}, chan int)
- func Set(key string, v interface{})
- type Config
- type Setting
- type Settings
- func (s *Settings) Get(key string) interface{}
- func (s *Settings) GetBool(key string) bool
- func (s *Settings) GetBoold(key string, d bool) bool
- func (s *Settings) GetBoold_c(key string, d bool) (bool, chan int)
- func (s *Settings) GetChild(key string) *Settings
- func (s *Settings) GetChildd(key string) *Settings
- func (s *Settings) GetChildd_c(key string) (*Settings, chan int)
- func (s *Settings) GetInt(key string) int
- func (s *Settings) GetIntd(key string, d int) int
- func (s *Settings) GetIntd_c(key string, d int) (int, chan int)
- func (s *Settings) GetString(key string) string
- func (s *Settings) GetStringd(key string, d string) string
- func (s *Settings) GetStringd_c(key string, d string) (string, chan int)
- func (s *Settings) Getd(key string, d interface{}) interface{}
- func (s *Settings) Getd_c(key string, d interface{}) (interface{}, chan int)
- func (s *Settings) Set(key string, v interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStringd ¶
Types ¶
type Setting ¶
type Setting struct { Key string Value interface{} // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.