Versions in this module Expand all Collapse all v1 v1.0.3 Feb 4, 2021 Changes in this version + var ClosedErr = stderr.New("grpc pool has closed") + type Builder func() (*grpc.ClientConn, error) + type ClientConn interface + type Option func(*option) + func WithEnablePrometheus() Option + type Pool interface + Close func() + Get func() (Stub, error) + Restore func(Stub) + func NewPool(builder Builder, options ...Option) (Pool, error) + type Stub interface + Conn func() ClientConn