Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cache models.Cache = models.Cache{}
Cache caches all scraped data
View Source
var ErrorLogger *log.Logger
ErrorLogger hosts the logger that logs errors
View Source
var InfoLogger *log.Logger
InfoLogger hosts the logger that logs info
View Source
var LogDirectory = "logs"
LogDirectory is the name of the Logging dump location
View Source
var RequestLogger *log.Logger
RequestLogger hosts the logger that logs requests
View Source
var WarningLogger *log.Logger
WarningLogger hosts the logger that logs warnings
Functions ¶
func FormatAnime ¶
FormatAnime returns a proper Anime object
func ReturnResponse ¶
func ReturnResponse(w http.ResponseWriter, r *http.Request, data interface{}, err *models.Error, status int)
ReturnResponse returns the response object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.