Skip to content

Commit 6faac00

Browse files
committed
proxy: imp docs
1 parent 7010ee6 commit 6faac00

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

proxy/requesthandler.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package proxy
22

33
// RequestHandler is an interface for handling DNS requests.
4+
//
5+
// TODO(d.kolyshev): Rename.
46
type RequestHandler interface {
57
// Handle resolves the DNS request within *DNSContext.
68
//
7-
// TODO(e.burkov): Use the [context.Context] instead of [*DNSContext] when
8-
// the interface-based handler is implemented.
9+
// TODO(e.burkov): Use the [context.Context] instead of [*DNSContext].
910
Handle(p *Proxy, dctx *DNSContext) (err error)
1011
}
1112

0 commit comments

Comments
 (0)