Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSAPI ¶
type DNSAPI struct {
// contains filtered or unexported fields
}
func (*DNSAPI) APIGet ¶
func (e *DNSAPI) APIGet(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*DNSAPI) AddRoutes ¶
func (e *DNSAPI) AddRoutes(r *httprouter.Router)
type DNSRequest ¶
type DNSResponse ¶
type DNSResponse struct {
Results string `json:"result"`
}
DNSResponse is returned from a GET to this API endpoing
Click to show internal directories.
Click to hide internal directories.