Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadRequest = errors.New("bad request")
ErrBadRequest indicates a 400 response was received;
NOTE: this is used by the server to indicate both that an IP address is not blocked (when calling Check) and that the list is complete (when calling Banned)
View Source
var (
// RootURL is the base URI of the APIBAN.org API server
RootURL = "https://apiban.org/api/"
)
Functions ¶
Types ¶
type ApiGetCheck ¶
type ApiGetJson ¶
Click to show internal directories.
Click to hide internal directories.