Documentation ¶
Index ¶
- type Registry
- func (this *Registry) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions) (resolver.Resolver, error)
- func (this *Registry) BuildPath(domain, service, node string) string
- func (this *Registry) Close()
- func (this *Registry) Register(ctx context.Context, domain, service, node, addr string, ttl int64) (key string, err error)
- func (this *Registry) ResolveNow(option resolver.ResolveNowOptions)
- func (this *Registry) Scheme() string
- func (this *Registry) Unregister(ctx context.Context, domain, service, node string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistryWithScheme ¶
func (*Registry) Build ¶
func (this *Registry) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions) (resolver.Resolver, error)
func (*Registry) ResolveNow ¶
func (this *Registry) ResolveNow(option resolver.ResolveNowOptions)
Click to show internal directories.
Click to hide internal directories.