Documentation
¶
Index ¶
- func NewConfigProvider(app *foundation.Application) foundation.Provider
- type Config
- func (c *Config) Add(key string, value interface{})
- func (c *Config) Env(key string) interface{}
- func (c *Config) Get(key string) interface{}
- func (c *Config) GetAll() map[string]interface{}
- func (c *Config) GetBool(key string) bool
- func (c *Config) GetEnvPath() string
- func (c *Config) GetOptions() *Options
- func (c *Config) GetString(key string) string
- func (c *Config) Set(key string, value interface{})
- type Options
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigProvider ¶
func NewConfigProvider(app *foundation.Application) foundation.Provider
Types ¶
type Config ¶
type Config struct { Options *Options // contains filtered or unexported fields }
Config represents the config.
Click to show internal directories.
Click to hide internal directories.