Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProtocolError = 0x2 NoError = 0x0 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseWriter ¶
type ResponseWriter struct {
dns.ResponseWriter
Conn quic.Connection
Stream quic.Stream
}
ResponseWriter implements dns.ResponseWriter for DNS-over-QUIC
func (*ResponseWriter) Close ¶
func (w *ResponseWriter) Close() error
func (*ResponseWriter) LocalAddr ¶
func (w *ResponseWriter) LocalAddr() net.Addr
func (*ResponseWriter) RemoteAddr ¶
func (w *ResponseWriter) RemoteAddr() net.Addr
Click to show internal directories.
Click to hide internal directories.