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