v3

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2019 License: BSD-2-Clause Imports: 13 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, limiter *limiter.ServerLimiter) (types.BackendServer, *errors.Errors)

Types

type ClientProtoV3Group

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

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

func (ClientProtoV3Group) Backends

func (c ClientProtoV3Group) Backends() []string

func (*ClientProtoV3Group) Children

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

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

func (*ClientProtoV3Group) TagNames

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

func (*ClientProtoV3Group) TagValues

func (c *ClientProtoV3Group) 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