Documentation
¶
Overview ¶
Package connpool implements a gRPC connection pool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool implements a connection Pool to nodes in the cluster. All connections share the same set of DialOptions.
The Pool has a maximum number of connections, and the oldest unused connections will be closed and removed when opening a new one. Dead nodes will be automatically removed from the Pool.
Click to show internal directories.
Click to hide internal directories.