Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FormatJSON is the format constant for a JSON output FormatJSON = "json" // FormatJSONP is the format constant for a JSONP output FormatJSONP = "jsonp" // FormatXML is the format constant for a XML output FormatXML = "xml" )
Variables ¶
View Source
var ( // ErrMissingCallback is thrown when the request is missing the // callback queryparam ErrMissingCallback = echo.NewHTTPError(http.StatusBadRequest, "Missing callback queryparam") // ErrUnsupportedFormat is thrown when the requestor has // defined an unsupported response format ErrUnsupportedFormat = echo.NewHTTPError(http.StatusBadRequest, "Unsupported format specified") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.