We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07a2352 commit 6008929Copy full SHA for 6008929
server.go
@@ -226,6 +226,7 @@ type Server struct {
226
// If NotifyStartedFunc is set it is called once the server has started listening.
227
NotifyStartedFunc func()
228
// DecorateReader is optional, allows customization of the process that reads raw DNS messages.
229
+ // The decorated reader must not mutate the data read from the conn.
230
DecorateReader DecorateReader
231
// DecorateWriter is optional, allows customization of the process that writes raw DNS messages.
232
DecorateWriter DecorateWriter
0 commit comments