msg

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 250

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetQueryAddress added in v1.8.0

func SetQueryAddress(t *tap.Message, addr net.Addr) error

SetQueryAddress adds the query address to the message. This also sets the SocketFamily and SocketProtocol.

func SetQueryTime added in v1.8.0

func SetQueryTime(t *tap.Message, ti time.Time)

SetQueryTime sets the time of the query in t.

func SetResponseAddress added in v1.8.0

func SetResponseAddress(t *tap.Message, addr net.Addr) error

SetResponseAddress the response address to the message. This also sets the SocketFamily and SocketProtocol.

func SetResponseTime added in v1.8.0

func SetResponseTime(t *tap.Message, ti time.Time)

SetResponseTime sets the time of the response in t.

func SetType added in v1.8.0

func SetType(t *tap.Message, typ tap.Message_Type)

SetType sets the type in t.

Types

This section is empty.

Jump to

Keyboard shortcuts

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