Documentation ¶
Index ¶
- type Writer
- func (w *Writer) Close() error
- func (w *Writer) Hijack()
- func (w *Writer) LocalAddr() net.Addr
- func (w *Writer) RemoteAddr() net.Addr
- func (w *Writer) TsigStatus() error
- func (w *Writer) TsigTimersOnly(bool)
- func (w *Writer) Write([]byte) (int, error)
- func (w *Writer) WriteMsg(response *dns.Msg) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
Writer is a stateful writer with the Response field set when WriteMsg is called. Only the WriteMsg method is implemented, calls to the other methods will panic.
func (*Writer) TsigTimersOnly ¶
TsigTimersOnly will panic if called.
Click to show internal directories.
Click to hide internal directories.