package
5.13.0+incompatible
Repository: https://github.com/documize/community.git
Documentation: pkg.go.dev
# Functions
WriteBadLicense notifies HTTP client of invalid license (402).
WriteBadRequestError notifies HTTP client of rejected request due to bad data within request.
WriteBytes dumps bytes to HTTP response.
WriteDuplicateError notifies HTTP client of duplicate data that has been rejected.
WriteEmpty writes empty JSON HTTP response.
WriteError notifies HTTP client of general application error.
WriteForbiddenError notifies HTTP client of request that is not allowed.
WriteJSON serializes data as JSON to HTTP response.
WriteMissingDataError notifies HTTP client of missing data in request.
WriteNotFound notifies HTTP client of 'record not found' error.
WriteNotFoundError notifies HTTP client of 'record not found' error.
WriteServerError notifies HTTP client of general application error.
WriteString writes string to HTTP response.
WriteText to HTTP response.
WriteUnauthorizedError notifies HTTP client of rejected unauthorized request.
WriteXML to HTTP response.