dhcp

package
v1.11.0-beta.11 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: GPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport struct {
	// contains filtered or unexported fields
}

func NewTransport

func NewTransport(options dns.TransportOptions) (*Transport, error)

func (*Transport) Close

func (t *Transport) Close() error

func (*Transport) Exchange

func (t *Transport) Exchange(ctx context.Context, message *mDNS.Msg) (*mDNS.Msg, error)

func (*Transport) Lookup

func (t *Transport) Lookup(ctx context.Context, domain string, strategy dns.DomainStrategy) ([]netip.Addr, error)

func (*Transport) Name added in v1.2.4

func (t *Transport) Name() string

func (*Transport) Raw

func (t *Transport) Raw() bool

func (*Transport) Reset added in v1.4.0

func (t *Transport) Reset()

func (*Transport) Start

func (t *Transport) Start() error

Jump to

Keyboard shortcuts

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