Documentation ¶
Index ¶
- type Boolean
- type Confunc
- type Float64
- type Integer
- type Interceptor
- type Parameterizer
- func (p *Parameterizer) Bool(sourceKey string, interceptors ...Interceptor) Boolean
- func (p *Parameterizer) Conf(sourceKey string, interceptors ...Interceptor) Confunc
- func (p *Parameterizer) Float64(sourceKey string, interceptors ...Interceptor) Float64
- func (p *Parameterizer) Int(sourceKey string, interceptors ...Interceptor) Integer
- func (p *Parameterizer) String(sourceKey string, interceptors ...Interceptor) String
- type Source
- type String
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
func CacheFor ¶
func CacheFor(cacheDuration time.Duration) Interceptor
func CacheOnce ¶
func CacheOnce() Interceptor
func Default ¶
func Default(defaultVal string) Interceptor
type Parameterizer ¶
type Parameterizer struct {
// contains filtered or unexported fields
}
func From ¶
func From(s Source) *Parameterizer
func (*Parameterizer) Bool ¶
func (p *Parameterizer) Bool(sourceKey string, interceptors ...Interceptor) Boolean
func (*Parameterizer) Conf ¶
func (p *Parameterizer) Conf(sourceKey string, interceptors ...Interceptor) Confunc
func (*Parameterizer) Float64 ¶
func (p *Parameterizer) Float64(sourceKey string, interceptors ...Interceptor) Float64
func (*Parameterizer) Int ¶
func (p *Parameterizer) Int(sourceKey string, interceptors ...Interceptor) Integer
func (*Parameterizer) String ¶
func (p *Parameterizer) String(sourceKey string, interceptors ...Interceptor) String
Click to show internal directories.
Click to hide internal directories.