Versions in this module Expand all Collapse all v1 v1.0.0 Mar 24, 2023 Changes in this version + type Client struct + func New(ctx context.Context, target string, optFns ...Option) (*Client, error) + func (c *Client) Close() error + func (c *Client) Use(selector string, mws ...middleware.Middleware) + type Option func(o *options) + func WithBalancerName(name string) Option + func WithDiscovery(discovery sd.Discovery) Option + func WithEnabledHealthCheck(enabledHealthCheck bool) Option + func WithGRPCOptions(opts ...grpc.DialOption) Option + func WithLogger(logger xlog.Logger) Option + func WithMiddlewares(mws ...middleware.Middleware) Option + func WithTLSConfig(tls *tls.Config) Option + func WithTimeout(timeout time.Duration) Option