v3

package
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: 12 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 ClientProtoV3Group

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

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

func (ClientProtoV3Group) Backends

func (c ClientProtoV3Group) Backends() []string

func (*ClientProtoV3Group) Fetch

func (*ClientProtoV3Group) Find

func (*ClientProtoV3Group) Info

func (*ClientProtoV3Group) List

func (ClientProtoV3Group) MaxMetricsPerRequest

func (c ClientProtoV3Group) MaxMetricsPerRequest() int

func (ClientProtoV3Group) Name

func (c ClientProtoV3Group) Name() string

func (*ClientProtoV3Group) ProbeTLDs

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

func (*ClientProtoV3Group) Stats

Jump to

Keyboard shortcuts

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