diff options
Diffstat (limited to 'request')
-rw-r--r-- | request/request.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/request/request.go b/request/request.go index 9672edeb1..e2ff2008c 100644 --- a/request/request.go +++ b/request/request.go @@ -9,6 +9,7 @@ import ( "github.com/coredns/coredns/plugin/pkg/edns" "github.com/miekg/dns" + "golang.org/x/net/context" ) // Request contains some connection state and is useful in plugin. @@ -19,6 +20,8 @@ type Request struct { // Optional lowercased zone of this query. Zone string + Context context.Context + // Cache size after first call to Size or Do. size int do int // 0: not, 1: true: 2: false |