Documentation ¶
Overview ¶
Package dial will dial up a grpc.ClientConnInterface if a client *url.URL is provided in the ctx, retrievable by clienturlctx.ClientURL(ctx) and put the resulting grpc.ClientConnInterface into the ctx using clientconn.Store(..) where it can be retrieved by other chain elements using clientconn.Load(...)
Package dial will dial up a grpc.ClientConnInterface if a client *url.URL is provided in the ctx, retrievable by clienturlctx.ClientURL(ctx) and put the resulting grpc.ClientConnInterface into the ctx using clientconn.Store(..) where it can be retrieved by other chain elements using clientconn.Load(...)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNetworkServiceEndpointRegistryClient ¶
func NewNetworkServiceEndpointRegistryClient(chainCtx context.Context, opts ...Option) registry.NetworkServiceEndpointRegistryClient
NewNetworkServiceEndpointRegistryClient - returns a new null client that does nothing but call next.NetworkServiceEndpointRegistryClient(ctx).
func NewNetworkServiceRegistryClient ¶
func NewNetworkServiceRegistryClient(chainCtx context.Context, opts ...Option) registry.NetworkServiceRegistryClient
NewNetworkServiceRegistryClient - returns a new null client that does nothing but call next.NetworkServiceRegistryClient(ctx).
Types ¶
type Option ¶
type Option func(*option)
Option - options for the dial chain element
func WithDialOptions ¶
func WithDialOptions(dialOptions ...grpc.DialOption) Option
WithDialOptions - grpc.DialOptions for use by the dial chain element
func WithDialTimeout ¶
WithDialTimeout - dialTimeout for use by dial chain element.