msg

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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