Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientConnInterface ¶
type ClientConnInterface interface { grpc.ClientConnInterface Address() string }
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 }
Click to show internal directories.
Click to hide internal directories.