var (
// VERSION string on status API VERSION string = ""
// UP function to detect, if API is healthy UP func() bool = func() bool {
return true
}
// EXTRAS show more informations in status EXTRAS interface{} = nil
)
Register status module
@Summary Show Status of current API
@Description Show version and status
@Tags status
@Produce json
@Success 200 {object} Status
@Failure 400 {object} web.HTTPError
@Failure 404 {object} web.HTTPError
@Router /api/status [get]