Documentation
¶
Index ¶
- Variables
- func FuzzyDecode(to interface{}, val string) bool
- func SetValueHierarchicalMap(m map[string]interface{}, key string, val interface{}) error
- func SetValueHierarchicalStruct(m interface{}, key string, val string) error
- type Binder
- type Cache
- type CacheSubscription
- type Params
- type Subscription
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FuzzyDecode ¶
func SetValueHierarchicalMap ¶
Types ¶
type Cache ¶
type Cache struct {
Subscription CacheSubscription `mapstructure:"subscription"`
}
type CacheSubscription ¶
type CacheSubscription struct {
LastNode string `mapstructure:"last_node"`
}
type Params ¶
type Params struct {
Node string `mapstructure:"node"`
Subscription Subscription `mapstructure:"subscription"`
Cache Cache `mapstructure:"cache"`
NoUDP bool `mapstructure:"no_udp"`
TestNode bool `mapstructure:"test_node_before_use" default:"true"`
}
var ParamsObj Params
type Subscription ¶
Click to show internal directories.
Click to hide internal directories.