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

Method Address

upstream/dnscrypt.go:57–57  ·  view source on GitHub ↗

Address implements the [Upstream] interface for *dnsCrypt.

()

Source from the content-addressed store, hash-verified

55
56// Address implements the [Upstream] interface for *dnsCrypt.
57func (p *dnsCrypt) Address() string { return p.addr.String() }
58
59// Exchange implements the [Upstream] interface for *dnsCrypt.
60func (p *dnsCrypt) Exchange(req *dns.Msg) (resp *dns.Msg, err error) {

Callers 1

resetClientMethod · 0.95

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected