go-micro: github.com/micro/go-micro/network/resolver/registry Index | Files

package registry

import "github.com/micro/go-micro/network/resolver/registry"

Package registry resolves names using the go-micro registry


Package Files


type Resolver Uses

type Resolver struct {
    // Registry is the registry to use otherwise we use the defaul
    Registry registry.Registry

Resolver is a registry network resolver

func (*Resolver) Resolve Uses

func (r *Resolver) Resolve(name string) ([]*resolver.Record, error)

Resolve assumes ID is a domain name e.g micro.mu

Package registry imports 2 packages (graph) and is imported by 7 packages. Updated 2020-02-22. Refresh now. Tools for package owners.