Documentation
¶
Index ¶
- type Env
- func (t *Env) GetBool(key string, def bool) bool
- func (t *Env) GetFloat(key string, def float32) float32
- func (t *Env) GetInt(key string, def int) int
- func (t *Env) GetString(key string, def string) string
- func (t *Env) Has(key string) bool
- func (t *Env) Init(app interfaces.IService) error
- func (t *Env) ParseFile(data []byte)
- func (t *Env) Stop() error
- type Mock
- func (t *Mock) GetBool(key string, def bool) bool
- func (t *Mock) GetFloat(key string, def float32) float32
- func (t *Mock) GetInt(key string, def int) int
- func (t *Mock) GetString(key string, def string) string
- func (t *Mock) Has(key string) bool
- func (t *Mock) Init(app interfaces.IService) error
- func (t *Mock) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.