package
0.1.38
Repository: https://github.com/polarpanda611/trinitygo.git
Documentation: pkg.go.dev

# Functions

NewGRPCConnPoool creates a new clients pool with the given initial and maximum capacity, and the timeout for the idle clients.
NewWithContext creates a new clients pool with the given initial and maximum capacity, and the timeout for the idle clients.

# Variables

ErrAlreadyClosed is the error when the client conn was already closed.
ErrClosed is the error when the client pool is closed.
ErrFullPool is the error when the pool is already full.
ErrTimeout is the error when the client pool timed out.

# Structs

ClientConn is the wrapper for a grpc client conn.
Pool is the grpc client pool.

# Type aliases

Factory is a function type creating a grpc client.
FactoryWithContext is a function type creating a grpc client that accepts the context parameter that could be passed from Get or NewWithContext method.