grpc: google.golang.org/grpc/internal/resolver/dns Index | Files

package dns

import "google.golang.org/grpc/internal/resolver/dns"

Package dns implements a dns resolver to be installed as the default resolver in grpc.

Index

Package Files

dns_resolver.go

Variables

var EnableSRVLookups = false

EnableSRVLookups controls whether the DNS resolver attempts to fetch gRPCLB addresses from SRV records. Must not be changed after init time.

func NewBuilder Uses

func NewBuilder() resolver.Builder

NewBuilder creates a dnsBuilder which is used to factory DNS resolvers.

Package dns imports 15 packages (graph) and is imported by 3 packages. Updated 2019-11-20. Refresh now. Tools for package owners.