MCPcopy
hub / github.com/AdguardTeam/dnsproxy / dnsCryptHandler

Struct dnsCryptHandler

proxy/serverdnscrypt.go:110–113  ·  view source on GitHub ↗

dnsCryptHandler is the [dnscrypt.Handler] implementation that handles requests in the Proxy.

Source from the content-addressed store, hash-verified

108// dnsCryptHandler is the [dnscrypt.Handler] implementation that handles
109// requests in the Proxy.
110type dnsCryptHandler struct {
111 proxy *Proxy
112 reqSema syncutil.Semaphore
113}
114
115// type check
116var _ dnscrypt.Handler = &dnsCryptHandler{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected