package endpoint
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/endpoint"
Index ¶
- func WithID(id uint32) option
- func WithLoadFactor(loadFactor float32) option
- func WithLocalDC(local bool) option
- func WithLocation(location string) option
- func WithServices(services []string) option
- type Endpoint
- type Info
Functions ¶
func WithID ¶
func WithID(id uint32) option
func WithLoadFactor ¶
func WithLoadFactor(loadFactor float32) option
func WithLocalDC ¶
func WithLocalDC(local bool) option
func WithLocation ¶
func WithLocation(location string) option
func WithServices ¶
func WithServices(services []string) option
Types ¶
type Endpoint ¶
func New ¶
type Info ¶
type Info interface { NodeID() uint32 Address() string LocalDC() bool Location() string LastUpdated() time.Time LoadFactor() float32 }
Source Files ¶
- Version
- v3.18.5
- Published
- Apr 7, 2022
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 4 minutes ago –
Tools for package owners.