Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnPool ¶
type ConnPool struct {
// contains filtered or unexported fields
}
func GetDefaultConnPool ¶
func GetDefaultConnPool() *ConnPool
GetDefaultConnPool returns the connection pool.
func NewConnPool ¶
NewConnPool creates a new connection pool with the giver size.
func (*ConnPool) Get ¶
func (p *ConnPool) Get() *grpc.ClientConn
Get gets a connection from the pool
Click to show internal directories.
Click to hide internal directories.