Versions in this module Expand all Collapse all v2 v2.2.3 Mar 8, 2020 v2.2.2 Mar 8, 2020 Changes in this version + func FormatError(w http.ResponseWriter, comment string, errcode int) + func IsGlobalIP(ip net.IP) bool + func PrepareReply(req *dns.Msg) *dns.Msg + func Unmarshal(msg *dns.Msg, resp *Response, udpSize uint16, ednsClientNetmask uint8) *dns.Msg + type Question struct + Name string + Type uint16 + type RR struct + Data string + Expires time.Time + ExpiresStr string + TTL uint32 + type Response struct + AD bool + Additional []RR + Answer []RR + Authority []RR + CD bool + Comment string + EarliestExpires time.Time + EdnsClientSubnet string + HaveTTL bool + LeastTTL uint32 + Question []Question + RA bool + RD bool + Status uint32 + TC bool + func Marshal(msg *dns.Msg) *Response + type UnmarshalError struct + func (e UnmarshalError) Error() string Other modules containing this package github.com/jonyhy96/dns-over-https