Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultMaxPoolConn = 20
)
grpc pool constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCPool ¶
GRPCPool holds all the shared state for GRPC pool
func NewGRPCPool ¶
func NewGRPCPool(addr string, maxConnections int, creds credentials.TransportCredentials) *GRPCPool
NewGRPCPool returns new auth pool
func (*GRPCPool) GetConnection ¶
GetConnection returns new connection from grpc pool
Click to show internal directories.
Click to hide internal directories.