Versions in this module Expand all Collapse all v1 v1.0.6-rc.1 Oct 29, 2018 v1.0.6-rc.0 Oct 29, 2018 v1.0.5 Sep 4, 2018 v1.0.4 Sep 3, 2018 Changes in this version type Config + HealthCheck struct{ ... } v1.0.3 Aug 9, 2018 v1.0.3-rc.3 Aug 3, 2018 v1.0.3-rc.2 Aug 3, 2018 v1.0.3-rc.1 Jul 31, 2018 v1.0.3-rc.0 Jul 16, 2018 v1.0.2-rc0 Jun 28, 2018 v1.0.2-rc.1 Jul 6, 2018 v1.0.2-rc.0 Jun 28, 2018 v1.0.1 Jun 7, 2018 Changes in this version type Config + func (c *Config) String() string v1.0.1-rc.0 Jun 5, 2018 v1.0.0 May 29, 2018 Changes in this version + var ErrInvalidListen = fmt.Errorf("Invalid listen path.") + var ErrInvalidMethod = fmt.Errorf("Invalid method. Options: %v", methods) + var ErrInvalidRateType = fmt.Errorf("Invalid rate type. Options: %v", rateTypes) + var ErrInvalidRoles = fmt.Errorf("Invalid roles. Options: %v", roles) + var ErrInvalidUpstreamProtocol = fmt.Errorf("Invalid usptream protocol. Options: %v", upstreamProto) + type Config struct + Auth struct{ ... } + Clickhouse struct{ ... } + Port int + Prometheus struct{ ... } + Rate struct{ ... } + TLS struct{ ... } + func (c *Config) Validate() []error + type Enable bool + type Metrics struct + RRoute prometheus.Collector + RTotal prometheus.Collector + RUserAgent prometheus.Collector + RUserIP prometheus.Collector + func CreateMetrics() *Metrics + type Route struct + Active bool + Desc string + Group string + ID string + Listen string + Method string + Name string + Roles []string + Strip bool + Upstream string + WS bool + func (r *Route) Entry() *log.Entry + type Routes struct + Routes map[string]Route + func (rs *Routes) Validate() []error v1.0.0-rc1 May 25, 2018 v1.0.0-rc0 May 25, 2018