Documentation ¶
Overview ¶
Package internal contains common utilities for DNS middlewares.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeNonWriter ¶
func MakeNonWriter(rw dnsserver.ResponseWriter) (nwrw *dnsserver.NonWriterResponseWriter)
MakeNonWriter makes rw a *dnsserver.NonWriterResponseWriter unless it already is one, in which case it just returns it.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package accessmw contains the access middleware of the AdGuard DNS server.
|
Package accessmw contains the access middleware of the AdGuard DNS server. |
Package dnssvctest contains common constants and utilities for the internal DNS-service packages.
|
Package dnssvctest contains common constants and utilities for the internal DNS-service packages. |
Package initial contains the initial, outermost (except for ratelimit and access) middleware of the AdGuard DNS server.
|
Package initial contains the initial, outermost (except for ratelimit and access) middleware of the AdGuard DNS server. |
Package mainmw contains the main middleware of AdGuard DNS.
|
Package mainmw contains the main middleware of AdGuard DNS. |
Package preservice contains the middleware that comes right before the main filtering middleware of DNS service.
|
Package preservice contains the middleware that comes right before the main filtering middleware of DNS service. |
Package preupstream contains the middleware that prepares records for upstream handling and caches them, as well as records anonymous DNS statistics.
|
Package preupstream contains the middleware that prepares records for upstream handling and caches them, as well as records anonymous DNS statistics. |
Click to show internal directories.
Click to hide internal directories.