We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7010ee6 commit 6faac00Copy full SHA for 6faac00
proxy/requesthandler.go
@@ -1,11 +1,12 @@
1
package proxy
2
3
// RequestHandler is an interface for handling DNS requests.
4
+//
5
+// TODO(d.kolyshev): Rename.
6
type RequestHandler interface {
7
// Handle resolves the DNS request within *DNSContext.
8
//
- // TODO(e.burkov): Use the [context.Context] instead of [*DNSContext] when
- // the interface-based handler is implemented.
9
+ // TODO(e.burkov): Use the [context.Context] instead of [*DNSContext].
10
Handle(p *Proxy, dctx *DNSContext) (err error)
11
}
12
0 commit comments