Versions in this module Expand all Collapse all v1 v1.13.2 Mar 8, 2019 v1.13.1 Mar 8, 2019 Changes in this version + type Autocert struct + AllowedHosts []string + CacheDir string + XXX map[string]interface{} + func (c *Autocert) UnmarshalYAML(unmarshal func(interface{}) error) error + type ByteSize uint64 + func (bs *ByteSize) UnmarshalYAML(unmarshal func(interface{}) error) error + type Cache struct + Dir string + Expire Duration + GraceTime Duration + MaxSize ByteSize + Name string + XXX map[string]interface{} + func (c *Cache) UnmarshalYAML(unmarshal func(interface{}) error) error + type Cluster struct + ClusterUsers []ClusterUser + HeartBeatInterval Duration + KillQueryUser KillQueryUser + Name string + Nodes []string + Replicas []Replica + Scheme string + XXX map[string]interface{} + func (c *Cluster) UnmarshalYAML(unmarshal func(interface{}) error) error + type ClusterUser struct + AllowedNetworks Networks + MaxConcurrentQueries uint32 + MaxExecutionTime Duration + MaxQueueSize uint32 + MaxQueueTime Duration + Name string + NetworksOrGroups NetworksOrGroups + Password string + ReqPerMin uint32 + XXX map[string]interface{} + func (cu *ClusterUser) UnmarshalYAML(unmarshal func(interface{}) error) error + type Config struct + Caches []Cache + Clusters []Cluster + HackMePlease bool + LogDebug bool + NetworkGroups []NetworkGroups + ParamGroups []ParamGroup + Server Server + Users []User + XXX map[string]interface{} + func LoadFile(filename string) (*Config, error) + func (c *Config) String() string + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + type Duration time.Duration + func (d *Duration) UnmarshalYAML(unmarshal func(interface{}) error) error + func (d Duration) MarshalYAML() (interface{}, error) + func (d Duration) String() string + type HTTP struct + AllowedNetworks Networks + ForceAutocertHandler bool + ListenAddr string + NetworksOrGroups NetworksOrGroups + XXX map[string]interface{} + func (c *HTTP) UnmarshalYAML(unmarshal func(interface{}) error) error + type HTTPS struct + AllowedNetworks Networks + Autocert Autocert + CertFile string + KeyFile string + ListenAddr string + NetworksOrGroups NetworksOrGroups + XXX map[string]interface{} + func (c *HTTPS) UnmarshalYAML(unmarshal func(interface{}) error) error + type KillQueryUser struct + Name string + Password string + XXX map[string]interface{} + func (u *KillQueryUser) UnmarshalYAML(unmarshal func(interface{}) error) error + type Metrics struct + AllowedNetworks Networks + NetworksOrGroups NetworksOrGroups + XXX map[string]interface{} + func (c *Metrics) UnmarshalYAML(unmarshal func(interface{}) error) error + type NetworkGroups struct + Name string + Networks Networks + XXX map[string]interface{} + func (ng *NetworkGroups) UnmarshalYAML(unmarshal func(interface{}) error) error + type Networks []*net.IPNet + func (n *Networks) UnmarshalYAML(unmarshal func(interface{}) error) error + func (n Networks) Contains(addr string) bool + func (n Networks) MarshalYAML() (interface{}, error) + type NetworksOrGroups []string + type Param struct + Key string + Value string + type ParamGroup struct + Name string + Params []Param + XXX map[string]interface{} + func (pg *ParamGroup) UnmarshalYAML(unmarshal func(interface{}) error) error + type Replica struct + Name string + Nodes []string + XXX map[string]interface{} + func (r *Replica) UnmarshalYAML(unmarshal func(interface{}) error) error + type Server struct + HTTP HTTP + HTTPS HTTPS + Metrics Metrics + XXX map[string]interface{} + func (s *Server) UnmarshalYAML(unmarshal func(interface{}) error) error + type TimeoutCfg struct + IdleTimeout Duration + ReadTimeout Duration + WriteTimeout Duration + type User struct + AllowCORS bool + AllowedNetworks Networks + Cache string + DenyHTTP bool + DenyHTTPS bool + MaxConcurrentQueries uint32 + MaxExecutionTime Duration + MaxQueueSize uint32 + MaxQueueTime Duration + Name string + NetworksOrGroups NetworksOrGroups + Params string + Password string + ReqPerMin uint32 + ToCluster string + ToUser string + XXX map[string]interface{} + func (u *User) UnmarshalYAML(unmarshal func(interface{}) error) error