Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dnstap ¶
type Dnstap struct {
// contains filtered or unexported fields
}
Dnstap middleware for binary DNS logging.
type DnstapMessage ¶
type DnstapMessage struct {
Type MessageType
Identity []byte
Version []byte
QueryAddress net.IP
QueryPort uint16
Protocol string
QueryTime time.Time
QueryMessage []byte
ResponseTime time.Time
ResponseMsg []byte
}
DnstapMessage represents a simplified dnstap message.
type MessageType ¶
type MessageType uint32
MessageType represents dnstap message types.
const ( MessageTypeQuery MessageType = 1 MessageTypeResponse MessageType = 2 )
Click to show internal directories.
Click to hide internal directories.