Documentation ¶
Index ¶
- func LoadConfig(name string, conf interface{}) []error
- func ResetConfigEnv()
- type Configurable
- type Duration
- func (tm *Duration) ConfigureBy(setting string)
- func (tm *Duration) MarshalJSON() ([]byte, error)
- func (tm *Duration) MarshalYAML() (interface{}, error)
- func (tm *Duration) TimeDuration() time.Duration
- func (tm *Duration) UnmarshalJSON(value []byte) error
- func (tm *Duration) UnmarshalYAML(unmarshal func(interface{}) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func ResetConfigEnv ¶
func ResetConfigEnv()
Types ¶
type Configurable ¶ added in v0.1.17
type Configurable interface {
ConfigureBy(setting string)
}
type Duration ¶ added in v0.1.17
func (*Duration) ConfigureBy ¶ added in v0.1.17
func (*Duration) MarshalJSON ¶ added in v0.1.17
func (*Duration) MarshalYAML ¶ added in v0.1.17
func (*Duration) TimeDuration ¶ added in v0.1.17
func (*Duration) UnmarshalJSON ¶ added in v0.1.17
func (*Duration) UnmarshalYAML ¶ added in v0.1.17
Click to show internal directories.
Click to hide internal directories.