Documentation ¶
Index ¶
- type Driver
- func (d *Driver) CreateRegistry(cnf *conf.Configuration) (registry.Registry, error)
- func (d *Driver) GetRegistry(name string) (registry.Registry, error)
- func (d *Driver) ResolverBuilder(cnf *conf.Configuration) (resolver.Builder, error)
- func (d *Driver) WithDialOptions(registryOpts registry.DialOptions) ([]grpc.DialOption, error)
- type Registry
- type Resolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func RegisterDriver ¶
func RegisterDriver(resolverData map[string]*registry.ServiceInfo) *Driver
func (*Driver) CreateRegistry ¶
func (*Driver) ResolverBuilder ¶
func (*Driver) WithDialOptions ¶
func (d *Driver) WithDialOptions(registryOpts registry.DialOptions) ([]grpc.DialOption, error)
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) GetServiceInfos ¶
func (r *Registry) GetServiceInfos(s string) ([]*registry.ServiceInfo, error)
func (*Registry) Unregister ¶
func (r *Registry) Unregister(info *registry.ServiceInfo) error
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func (*Resolver) Build ¶
func (r *Resolver) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions) (resolver.Resolver, error)
func (*Resolver) ResolveNow ¶
func (r *Resolver) ResolveNow(options resolver.ResolveNowOptions)
Click to show internal directories.
Click to hide internal directories.