Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoEndpoints = xerrors.Wrap(fmt.Errorf("no endpoints"))
Functions ¶
Types ¶
type Connection ¶ added in v3.26.0
type Connection interface {
Info
Router
Discoverer
}
type Discoverer ¶ added in v3.26.0
type Router ¶ added in v3.26.0
type Router interface {
// ClientConnInterface interface allows Router use as grpc.ClientConnInterface
// with lazy getting raw grpc-connection in Invoke() or NewStream() stages.
// Lazy getting grpc-connection must use for embedded into driver client-side
// balancing may be put into code-generated client constructor as is.
grpc.ClientConnInterface
closer.Closer
}
Click to show internal directories.
Click to hide internal directories.