Documentation ¶
Overview ¶
@BasePath /api/
Index ¶
Constants ¶
View Source
const ( BlockingStatusPath = "/api/blocking/status" BlockingEnablePath = "/api/blocking/enable" BlockingDisablePath = "/api/blocking/disable" BlockingQueryPath = "/api/query" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockingStatus ¶
type QueryRequest ¶
type QueryResult ¶
type QueryResult struct { // blocky reason for resolution Reason string `json:"reason"` // response type (CACHED, BLOCKED, ...) ResponseType string `json:"responseType"` // actual DNS response Response string `json:"response"` // DNS return code (NOERROR, NXDOMAIN, ...) ReturnCode string `json:"returnCode"` }
Click to show internal directories.
Click to hide internal directories.