Documentation ¶
Index ¶
- func GetAddress() fiber.Handler
- func GetDCIPs(app *app.App) fiber.Handler
- func GetDisasableEmails(app *app.App) fiber.Handler
- func GetEmail(app *app.App) fiber.Handler
- func GetFreeEmails(app *app.App) fiber.Handler
- func GetGenericEmails(app *app.App) fiber.Handler
- func GetHealth() fiber.Handler
- func GetIP(app *app.App) fiber.Handler
- func GetProxyIPs(app *app.App) fiber.Handler
- func GetScoreEmail(app *app.App) fiber.Handler
- func GetScoreIP(app *app.App) fiber.Handler
- func GetSpamEmails(app *app.App) fiber.Handler
- func GetSpamIPs(app *app.App) fiber.Handler
- func GetTorIPs(app *app.App) fiber.Handler
- func GetVPNIPs(app *app.App) fiber.Handler
- func GetValidateEmail(app *app.App) fiber.Handler
- func WriteData(w http.ResponseWriter, httpCode int, str *[]string)
- func WriteErrors(w http.ResponseWriter, err error)
- func WriteJSON(w http.ResponseWriter, httpCode int, d interface{})
- func WriteNotFound(w http.ResponseWriter, resource string)
- type RequestError
- type ServiceData
- type ServiceErrors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAddress ¶
func GetAddress() fiber.Handler
func GetDisasableEmails ¶
func GetFreeEmails ¶
func GetGenericEmails ¶
func GetProxyIPs ¶
func GetScoreEmail ¶
func GetScoreIP ¶
func GetSpamEmails ¶
func GetSpamIPs ¶
func GetValidateEmail ¶
func WriteErrors ¶
func WriteErrors(w http.ResponseWriter, err error)
func WriteJSON ¶
func WriteJSON(w http.ResponseWriter, httpCode int, d interface{})
func WriteNotFound ¶
func WriteNotFound(w http.ResponseWriter, resource string)
Types ¶
type RequestError ¶
type RequestError struct {
Error string `json:"error"`
}
type ServiceData ¶
type ServiceData struct {
Result interface{} `json:"result"`
}
type ServiceErrors ¶
type ServiceErrors struct {
Errors services.FieldErrors `json:"errors"`
}
Click to show internal directories.
Click to hide internal directories.