Documentation
¶
Overview ¶
Package taprw takes a query and intercepts the response. It will log both after the response is written.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseWriter ¶
type ResponseWriter struct {
Query *dns.Msg
dns.ResponseWriter
Taper
Pack bool
// contains filtered or unexported fields
}
Single request use.
func (ResponseWriter) DnstapError ¶
func (w ResponseWriter) DnstapError() error
Check if a dnstap error occured. Set during ResponseWriter.Write.
func (*ResponseWriter) QueryEpoch ¶
func (w *ResponseWriter) QueryEpoch()
To be called as soon as possible.
Click to show internal directories.
Click to hide internal directories.