Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEndsWithColon = errors.New("")
)
Functions ¶
This section is empty.
Types ¶
type DNSResolver ¶
type DNSResolver struct {
// contains filtered or unexported fields
}
func (*DNSResolver) Close ¶
func (d *DNSResolver) Close()
func (*DNSResolver) ResolveNow ¶
func (d *DNSResolver) ResolveNow(resolver.ResolveNowOptions)
type DNSResolverBuilder ¶
type DNSResolverBuilder struct {
// contains filtered or unexported fields
}
func NewDNSResolverBuilder ¶
func NewDNSResolverBuilder(ctx context.Context, opts ...Option) *DNSResolverBuilder
func (*DNSResolverBuilder) Build ¶
func (d *DNSResolverBuilder) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions) (resolver.Resolver, error)
func (*DNSResolverBuilder) Scheme ¶
func (d *DNSResolverBuilder) Scheme() string
type NetResolver ¶
type Option ¶
type Option func(o *option)
func WithDNSReResolving ¶
func WithDefaultPort ¶
func WithDnsAuthority ¶
func WithResolver ¶
func WithResolver(r NetResolver) Option
func WithResolvingTimeout ¶
Click to show internal directories.
Click to hide internal directories.