Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleJSON ¶
func HandleJSON(handle func(string, *dns.Msg) *dns.Msg) func(http.ResponseWriter, *http.Request) bool
HandleJSON handle json format
Types ¶
type Msg ¶
type Msg struct { Status int TC bool RD bool RA bool AD bool CD bool Question []Question Answer []RR `json:",omitempty"` Authority []RR `json:",omitempty"` }
Msg struct
Click to show internal directories.
Click to hide internal directories.