Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶ added in v3.8.0
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 closer.Closer }
type Connection ¶
type Connection interface { Cluster conn.PoolGetter ConnectionInfo ConnectionDiscovery }
func New ¶
func New( ctx context.Context, c config.Config, opts ...discoveryConfig.Option, ) (_ Connection, err error)
type ConnectionDiscovery ¶ added in v3.10.0
type ConnectionInfo ¶ added in v3.10.0
Click to show internal directories.
Click to hide internal directories.