Versions in this module Expand all Collapse all v1 v1.7.1 Jul 24, 2020 Changes in this version + var ErrNoHealthy = errors.New("no healthy gRPC proxies") + var RcodeCount = prometheus.NewCounterVec(prometheus.CounterOpts{ ... }, []string{ ... }) + var RequestCount = prometheus.NewCounterVec(prometheus.CounterOpts{ ... }, []string{ ... }) + var RequestDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{ ... }, []string{ ... }) + type GRPC struct + Next plugin.Handler + func (g *GRPC) Name() string + func (g *GRPC) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) + type Policy interface + List func([]*Proxy) []*Proxy + String func() string + type Proxy struct