Documentation ¶
Index ¶
- func DefaultEnv(ctx context.Context, state *Request) map[string]any
- type Msg
- type MsgHdr
- type Question
- type RR
- type RR_Header
- type Request
- func (r *Request) Class() string
- func (r *Request) Clear()
- func (r *Request) Do() bool
- func (r *Request) Family() int
- func (r *Request) IP() string
- func (r *Request) Len() int
- func (r *Request) LocalAddr() string
- func (r *Request) LocalIP() string
- func (r *Request) LocalPort() string
- func (r *Request) Match(reply *Msg) bool
- func (r *Request) Name() string
- func (r *Request) NewWithQuestion(name string, typ uint16) Request
- func (r *Request) Port() string
- func (r *Request) Proto() string
- func (r *Request) QClass() uint16
- func (r *Request) QName() string
- func (r *Request) QType() uint16
- func (r *Request) RemoteAddr() string
- func (r *Request) Scrub(reply *Msg) *Msg
- func (r *Request) Size() int
- func (r *Request) SizeAndDo(m *Msg) bool
- func (r *Request) Type() string
- type ResponseWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Request ¶
type Request struct { Req *Msg W ResponseWriter Zone string }
func (*Request) NewWithQuestion ¶
func (*Request) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.