v2

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: BSD-2-Clause Imports: 16 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.BackendServer, *errors.Errors)

func NewWithLimiter

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

Types

type ClientProtoV2Group

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

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

func (ClientProtoV2Group) Backends

func (c ClientProtoV2Group) Backends() []string

func (*ClientProtoV2Group) Children

func (c *ClientProtoV2Group) Children() []types.BackendServer

func (*ClientProtoV2Group) Fetch

func (*ClientProtoV2Group) Find

func (*ClientProtoV2Group) Info

func (*ClientProtoV2Group) List

func (ClientProtoV2Group) MaxMetricsPerRequest

func (c ClientProtoV2Group) MaxMetricsPerRequest() int

func (ClientProtoV2Group) Name

func (c ClientProtoV2Group) Name() string

func (*ClientProtoV2Group) ProbeTLDs

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

func (*ClientProtoV2Group) Stats

func (*ClientProtoV2Group) TagNames

func (c *ClientProtoV2Group) TagNames(ctx context.Context, query string, limit int64) ([]string, *errors.Errors)

func (*ClientProtoV2Group) TagValues

func (c *ClientProtoV2Group) TagValues(ctx context.Context, query string, limit int64) ([]string, *errors.Errors)

Jump to

Keyboard shortcuts

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