Documentation
¶
Index ¶
- type Config
- func (c *Config) GetBool(key string, defaultValue bool) bool
- func (c *Config) GetDuration(key string, defaultValue time.Duration) time.Duration
- func (c *Config) GetInt(key string, defaultValue int) int
- func (c *Config) GetString(key string, defaultValue string) string
- func (c *Config) Parse(v any) error
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
}
func (*Config) GetDuration ¶
Click to show internal directories.
Click to hide internal directories.