dns

package
v4.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PackMessage

func PackMessage(msg *dnsmessage.Message) (*buf.Buffer, error)

Types

type MessageReader

type MessageReader interface {
	ReadMessage() (*buf.Buffer, error)
}

type UDPReader

type UDPReader struct {
	buf.Reader
	// contains filtered or unexported fields
}

func (*UDPReader) Close

func (r *UDPReader) Close() error

Close implements common.Closable.

func (*UDPReader) ReadMessage

func (r *UDPReader) ReadMessage() (*buf.Buffer, error)

ReadMessage implements MessageReader.

Jump to

Keyboard shortcuts

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