package endpoint
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/driver/cluster/balancer/conn/endpoint"
Index ¶
- func SplitHostPort(addr string) (host string, port int, err error)
- func WithID(id uint32) option
- func WithLoadFactor(loadFactor float32) option
- func WithLocalDC(local bool) option
- type Endpoint
Functions ¶
func SplitHostPort ¶
func WithID ¶
func WithID(id uint32) option
func WithLoadFactor ¶
func WithLoadFactor(loadFactor float32) option
func WithLocalDC ¶
func WithLocalDC(local bool) option
Types ¶
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
func New ¶
func (Endpoint) Address ¶
func (Endpoint) LoadFactor ¶
func (Endpoint) LocalDC ¶
func (Endpoint) NodeID ¶
Source Files ¶
- Version
- v3.4.3
- Published
- Nov 22, 2021
- Platform
- darwin/amd64
- Imports
- 2 packages
- Last checked
- now –
Tools for package owners.