msg

package
v0.0.0-...-cf0c5cd Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetQueryAddress

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

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

SetQueryTime sets the time of the query in t.

func SetResponseAddress

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

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

SetResponseTime sets the time of the response in t.

func SetType

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