package config

import "github.com/ydb-platform/ydb-go-sdk/v3/internal/balancer/config"

Index

Types

type Config

type Config struct {
	Filter        Filter
	AllowFallback bool
	SingleConn    bool
	DetectLocalDC bool
}

func (Config) String

func (c Config) String() string

type Filter

type Filter interface {
	Allow(info Info, c conn.Conn) bool
	String() string
}

type Info

type Info struct {
	SelfLocation string
}

Source Files

routerconfig.go

Version
v3.74.4
Published
Jun 21, 2024
Platform
linux/amd64
Imports
3 packages
Last checked
32 seconds ago

Tools for package owners.