Documentation ¶
Index ¶
- type Config
- func (conf *Config) Add(name string, configuration map[string]any)
- func (conf *Config) Env(envName string, defaultValue ...any) any
- func (conf *Config) Get(path string, defaultValue ...any) any
- func (conf *Config) GetBool(path string, defaultValue ...any) bool
- func (conf *Config) GetDuration(path string) time.Duration
- func (conf *Config) GetInt(path string, defaultValue ...any) int
- func (conf *Config) GetMap(path string) map[string]any
- func (conf *Config) GetString(path string, defaultValue ...any) string
- func (conf *Config) GetTime(path string) time.Time
- type ServiceProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (config *ServiceProvider) Boot()
func (*ServiceProvider) Register ¶
func (config *ServiceProvider) Register()
Click to show internal directories.
Click to hide internal directories.