registry

package
v2.3.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package registry resolves names using the go-micro registry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL