Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2023 Changes in this version + const BackoffMaxDelay + const DftMaxActive + const DftMaxConcurrentStreams + const DftMaxIdle + const DialTimeout + const InitialConnWindowSize + const InitialWindowSize + const KeepAliveTime + const KeepAliveTimeout + const MaxRecvMsgSize + const MaxSendMsgSize + var ErrClosed = errors.New("pool is closed") + func DftDial(address string) (*grpc.ClientConn, error) + type Conn interface + Close func() error + Value func() *grpc.ClientConn + type Option func(o *options) + func Dial(factoryFn func(address string) (*grpc.ClientConn, error)) Option + func MaxActive(maxActive int) Option + func MaxConcurrentStreams(maxConcurrentStreams int) Option + func MaxIdle(maxIdle int) Option + func Reuse(reuse bool) Option + type Pool interface + Close func() + Get func() (Conn, error) + Status func() string + func New(address string, opts ...Option) (Pool, error)