Documentation
¶
Index ¶
- type Writer
- func (w *Writer) Close() error
- func (w *Writer) Internal() bool
- func (w *Writer) LocalAddr() net.Addr
- func (w *Writer) Msg() *dns.Msg
- func (w *Writer) Proto() string
- func (w *Writer) Rcode() int
- func (w *Writer) RemoteAddr() net.Addr
- func (w *Writer) RemoteIP() net.IP
- func (w *Writer) Size() int
- func (w *Writer) Write(b []byte) (int, error)
- func (w *Writer) WriteMsg(msg *dns.Msg) error
- func (w *Writer) Written() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer type.
func (*Writer) RemoteAddr ¶
(*Writer).RemoteAddr remoteAddr func.
func (*Writer) Size ¶ added in v1.8.0
(*Writer).Size reports the response's wire length: exact for a raw write, computed from the message otherwise.
Click to show internal directories.
Click to hide internal directories.