Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultPoolSize sets the connection pool size DefaultPoolSize = 100 // DefaultPoolTTL sets the connection pool ttl DefaultPoolTTL = time.Minute // DefaultPoolMaxStreams maximum streams on a connectioin // (20) DefaultPoolMaxStreams = 20 // DefaultPoolMaxIdle maximum idle conns of a pool // (50) DefaultPoolMaxIdle = 50 // DefaultMaxRecvMsgSize maximum message that client can receive // (4 MB). DefaultMaxRecvMsgSize = 1024 * 1024 * 4 // DefaultMaxSendMsgSize maximum message that client can send // (4 MB). DefaultMaxSendMsgSize = 1024 * 1024 * 4 )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { grpc.ClientConnInterface }
type Option ¶
type Option func(*options)
func WithDialOptions ¶ added in v0.1.0
func WithDialOptions(opts ...grpc.DialOption) Option
func WithRegistry ¶
func WithSecure ¶
func WithTLSConfig ¶
func WithVersion ¶
Click to show internal directories.
Click to hide internal directories.