Versions in this module Expand all Collapse all v1 v1.0.1 Feb 8, 2024 v1.0.0 Feb 8, 2024 Changes in this version + func Dial(ctx context.Context, endpoint string, opts ...Option) (*grpc.ClientConn, error) + type Option func(*options) + func WithDialOptions(dialOptions ...grpc.DialOption) Option + func WithDiscovery(discovery registry.Discovery) Option + func WithEnableCircuitBreaker() Option + func WithEnableLoadBalance() Option + func WithEnableLog(log *zap.Logger) Option + func WithEnableMetrics() Option + func WithEnableRequestID() Option + func WithEnableRetry() Option + func WithEnableTrace() Option + func WithOneWaySecure(serverName string, certFile string) Option + func WithSecure(t string, serverName string, caFile string, certFile string, keyFile string) Option + func WithStreamInterceptors(streamInterceptors ...grpc.StreamClientInterceptor) Option + func WithTimeout(timeout time.Duration) Option + func WithToken(enable bool, appID string, appKey string) Option + func WithTwoWaySecure(serverName string, caFile string, certFile string, keyFile string) Option + func WithUnaryInterceptors(unaryInterceptors ...grpc.UnaryClientInterceptor) Option