Documentation ¶
Overview ¶
Package pool provides grpc connection pool client
Package pool provides grpc connection pool client
Index ¶
- type ClientConn
- type Conn
- type DialOption
- type Option
- func WithAddr(addr string) Option
- func WithBackoff(bo backoff.Backoff) Option
- func WithDialOptions(opts ...DialOption) Option
- func WithDialTimeout(dur string) Option
- func WithEndPort(port int) Option
- func WithHost(host string) Option
- func WithOldConnCloseDuration(dur string) Option
- func WithPort(port int) Option
- func WithSize(size uint64) Option
- func WithStartPort(port int) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConn ¶
type ClientConn = grpc.ClientConn
type Conn ¶
type DialOption ¶
type DialOption = grpc.DialOption
type Option ¶
type Option func(*pool)
func WithBackoff ¶
func WithDialOptions ¶
func WithDialOptions(opts ...DialOption) Option
func WithDialTimeout ¶ added in v0.0.32
func WithEndPort ¶
func WithOldConnCloseDuration ¶ added in v0.0.29
func WithStartPort ¶
Click to show internal directories.
Click to hide internal directories.