v3

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 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, tldCacheDisabled bool) (types.BackendServer, merry.Error)

func NewWithLimiter

func NewWithLimiter(logger *zap.Logger, config types.BackendV2, tldCacheDisabled bool, l limiter.ServerLimiter) (types.BackendServer, merry.Error)

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, merry.Error)

func (*ClientProtoV3Group) Stats

func (*ClientProtoV3Group) TagNames

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

func (*ClientProtoV3Group) TagValues

func (c *ClientProtoV3Group) TagValues(ctx context.Context, query string, limit int64) ([]string, merry.Error)

Jump to

Keyboard shortcuts

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