# README
https://github.com/grpc/grpc-go update proto package, gRPC package and rebuild the proto files:
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
go get -u google.golang.org/grpc
protoc --go_out=plugins=grpc:. *.proto
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
New 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.
auto select connection.
only select local connection.
No description provided by the author
No description provided by the author
# 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.
# 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.