Documentation ¶
Index ¶
- func ParseBool(val interface{}) (value bool, err error)
- func Register(adapterName string, adapter Config)
- type AppConf
- type Config
- type Configer
- type JsonConfig
- type JsonConfigContainer
- func (c *JsonConfigContainer) Bool(key string) (bool, error)
- func (c *JsonConfigContainer) Float64(key string) (float64, error)
- func (c *JsonConfigContainer) Get(key string) (interface{}, error)
- func (c *JsonConfigContainer) Int(key string) (int, error)
- func (c *JsonConfigContainer) Int64(key string) (int64, error)
- func (c *JsonConfigContainer) RawData() []byte
- func (c *JsonConfigContainer) Set(key, val string) error
- func (c *JsonConfigContainer) String(key string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configer ¶
type JsonConfig ¶
type JsonConfig struct{}
type JsonConfigContainer ¶
func (*JsonConfigContainer) Float64 ¶
func (c *JsonConfigContainer) Float64(key string) (float64, error)
func (*JsonConfigContainer) Get ¶
func (c *JsonConfigContainer) Get(key string) (interface{}, error)
func (*JsonConfigContainer) RawData ¶
func (c *JsonConfigContainer) RawData() []byte
func (*JsonConfigContainer) Set ¶
func (c *JsonConfigContainer) Set(key, val string) error
Click to show internal directories.
Click to hide internal directories.