Documentation ¶
Index ¶
- func Clamp(o *Opt, min, max time.Duration) func(*Opt)
- type Hook
- type Opt
- func (o *Opt) Expanded() (s string)
- func (o *Opt) FromString(s string) (e error)
- func (o *Opt) FromValue(v time.Duration) *Opt
- func (o *Opt) Meta() meta.Metadata
- func (o *Opt) Path() (p path.Path)
- func (o *Opt) RunHooks() (e error)
- func (o *Opt) SetExpanded(s string)
- func (o *Opt) SetPath(p path.Path)
- func (o *Opt) String() (s string)
- func (o *Opt) ToOption() config.Option
- func (o *Opt) Type() meta.Type
- func (o *Opt) Value() (c config.Concrete)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opt ¶
type Opt struct {
// contains filtered or unexported fields
}
func (*Opt) FromString ¶ added in v0.1.18
func (*Opt) SetExpanded ¶ added in v0.1.37
Click to show internal directories.
Click to hide internal directories.