package cluster
import "github.com/ydb-platform/ydb-go-sdk/v3/cluster"
Index ¶
- func WithEndpoint(ctx context.Context, endpoint Endpoint) context.Context
- type Cluster
- type Endpoint
Functions ¶
func WithEndpoint ¶
Types ¶
type Cluster ¶
type Cluster interface { // ClientConnInterface interface allows Cluster use as grpc.ClientConnInterface // with lazy getting raw grpc-connection in Invoke() or NewStream() stages. // Lazy getting grpc-connection must use for embedded client-side balancing // DB may be put into code-generated client constructor as is. grpc.ClientConnInterface // Close clears resources and close all connections to YDB Close(ctx context.Context) error }
type Endpoint ¶
type Endpoint interface { NodeID() uint32 }
func ContextEndpoint ¶
Source Files ¶
- Version
- v3.5.0-rc2
- Published
- Dec 20, 2021
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 1 second ago –
Tools for package owners.