aboutsummaryrefslogtreecommitdiff
path: root/middleware/test/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/test/helpers.go')
-rw-r--r--middleware/test/helpers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/middleware/test/helpers.go b/middleware/test/helpers.go
index 0137171a7..66fc3c50c 100644
--- a/middleware/test/helpers.go
+++ b/middleware/test/helpers.go
@@ -292,4 +292,5 @@ func (f HandlerFunc) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.
return f(ctx, w, r)
}
+// Name implements the Handler interface.
func (f HandlerFunc) Name() string { return "handlerfunc" }