Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProtoUnsupported = errors.New("unsupported protocol")
Functions ¶
func NewGRPCClientConn ¶
func NewGRPCClientConn(opts ...Option) (*grpc.ClientConn, error)
Types ¶
type Option ¶
type Option func(*cfg)
func WithDialTimeout ¶ added in v1.20.3
func WithGRPCConn ¶
func WithGRPCConn(v *grpc.ClientConn) Option
func WithGRPCDialOpts ¶
func WithGRPCDialOpts(v []grpc.DialOption) Option
func WithNetConn ¶
func WithNetworkAddress ¶
Click to show internal directories.
Click to hide internal directories.