auto

package
Version: v0.0.0-...-b9a9d18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2019 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger *zap.Logger, config types.BackendV2) (types.ServerClient, *errors.Errors)

func NewWithLimiter

func NewWithLimiter(logger *zap.Logger, config types.BackendV2, limiter *limiter.ServerLimiter) (types.ServerClient, *errors.Errors)

Types

type AutoGroup

type AutoGroup struct {
	// contains filtered or unexported fields
}

RoundRobin is used to connect to backends inside clientGroups, implements ServerClient interface

func (AutoGroup) Backends

func (c AutoGroup) Backends() []string

func (*AutoGroup) Fetch

func (*AutoGroup) Find

func (*AutoGroup) List

func (AutoGroup) MaxMetricsPerRequest

func (c AutoGroup) MaxMetricsPerRequest() int

func (AutoGroup) Name

func (c AutoGroup) Name() string

func (*AutoGroup) ProbeTLDs

func (c *AutoGroup) ProbeTLDs(ctx context.Context) ([]string, *errors.Errors)

func (*AutoGroup) Stats

type CapabilityResponse

type CapabilityResponse struct {
	ProtoToServers map[string][]string
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL