Documentation
¶
Index ¶
- Variables
- func FuzzyDecode(to interface{}, val string) bool
- func GetValueHierarchicalStruct(m interface{}, key string) (reflect.Value, error)
- 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 GetValueHierarchicalStruct ¶ added in v0.2.15
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"`
ProxyPrivate bool `mapstructure:"proxy_private"`
AllowInsecure bool `mapstructure:"allow_insecure"`
TestNode bool `mapstructure:"test_node_before_use" default:"true"`
TestURL string `mapstructure:"test_url" default:"https://connectivitycheck.gstatic.com/generate_204"`
}
var ParamsObj Params
type Subscription ¶
Click to show internal directories.
Click to hide internal directories.