mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Support logging to dnstap in forward plugin (#2703)
This commit is contained in:
committed by
Miek Gieben
parent
0e137b23f1
commit
403d42ce20
@@ -1,7 +1,6 @@
|
||||
package test
|
||||
|
||||
import (
|
||||
"context"
|
||||
"net"
|
||||
"reflect"
|
||||
|
||||
@@ -10,12 +9,6 @@ import (
|
||||
tap "github.com/dnstap/golang-dnstap"
|
||||
)
|
||||
|
||||
// Context is a message trap.
|
||||
type Context struct {
|
||||
context.Context
|
||||
TrapTapper
|
||||
}
|
||||
|
||||
// TestingData returns the Data matching coredns/test.ResponseWriter.
|
||||
func TestingData() (d *msg.Builder) {
|
||||
d = &msg.Builder{
|
||||
|
||||
Reference in New Issue
Block a user