Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct { Config *commonconfig.GRPCClientConfig Clients []grpcConn Count int }
func NewPool ¶
func NewPool(cfg *commonconfig.GRPCClientConfig) *Pool
func (*Pool) GetConn ¶
func (pool *Pool) GetConn() *grpc.ClientConn
Click to show internal directories.
Click to hide internal directories.