dns

package
v0.12.8 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToIPint32 added in v0.10.0

func ToIPint32(ip netaddr.IP) int32

Types

type DNSCollector added in v0.10.0

type DNSCollector interface {
	Start(ctx context.Context) error
	Records() []*pb.IP2Domain
}

type IP2DNS

type IP2DNS struct {
	Tracer tracer
	// contains filtered or unexported fields
}

func NewIP2DNS added in v0.10.0

func NewIP2DNS(tracer tracer, log logrus.FieldLogger) *IP2DNS

func (*IP2DNS) Records added in v0.10.0

func (d *IP2DNS) Records() []*pb.IP2Domain

func (*IP2DNS) Start

func (d *IP2DNS) Start(ctx context.Context) error

type Noop

type Noop struct{}

func (*Noop) Records added in v0.10.0

func (d *Noop) Records() []*pb.IP2Domain

func (*Noop) Start

func (t *Noop) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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