Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(opts ...ClientOption) (*Client, error)
type ClientOption ¶
type ClientOption func(c *Client)
func ClientWithBalancer ¶
func ClientWithBalancer(balancer string) ClientOption
func ClientWithInsecure ¶
func ClientWithInsecure(insecure bool) ClientOption
func ClientWithRegistry ¶
func ClientWithRegistry(r registry.Registry) ClientOption
type GrpcResolverBuilder ¶
type GrpcResolverBuilder struct {
// contains filtered or unexported fields
}
func NewRegisterBuilder ¶
func NewRegisterBuilder(r registry.Registry, opts ...GrpcResolverBuilderOption) *GrpcResolverBuilder
func (*GrpcResolverBuilder) Build ¶
func (b *GrpcResolverBuilder) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions) (resolver.Resolver, error)
func (*GrpcResolverBuilder) Scheme ¶
func (b *GrpcResolverBuilder) Scheme() string
type GrpcResolverBuilderOption ¶
type GrpcResolverBuilderOption func(b *GrpcResolverBuilder)
func GrpcResolverBuilderWithTimeOut ¶
func GrpcResolverBuilderWithTimeOut(timeOut time.Duration) GrpcResolverBuilderOption
Click to show internal directories.
Click to hide internal directories.