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

package dns

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

Package dns resolves names to dns records


Package Files


type Resolver Uses

type Resolver struct {
    // The resolver address to use
    Address string

Resolver is a DNS network resolve

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 dns imports 4 packages (graph) and is imported by 7 packages. Updated 2020-02-19. Refresh now. Tools for package owners.