Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextNodeID ¶ added in v3.74.3
Types ¶
type Info ¶ added in v3.16.10
type Info interface { NodeID Address() string Location() string LastUpdated() time.Time LoadFactor() float32 // Deprecated: LocalDC check "local" by compare endpoint location with discovery "selflocation" field. // It work good only if connection url always point to local dc. // Will be removed after Oct 2024. // Read about versioning policy: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#deprecated LocalDC() bool }
type Option ¶ added in v3.25.0
type Option func(e *endpoint)
func WithLastUpdated ¶ added in v3.11.8
func WithLoadFactor ¶
func WithLocalDC ¶
func WithLocation ¶ added in v3.6.2
func WithServices ¶ added in v3.10.0
Click to show internal directories.
Click to hide internal directories.