# Functions
BadRequest returns a bad request response (400) with the given error.
Conflict returns a conflict response (409) with the given error.
DevIncusErrorResponse returns an error response.
DevIncusResponse represents a devIncusResponse.
ErrorResponse returns an error response with the given code and msg.
FileResponse returns a new file response.
Forbidden returns a forbidden response (403) with the given error.
ForwardedResponse takes a request directed to a node and forwards it to another node, writing back the response it gegs.
Init sets the debug variable to the provided value.
InternalError returns an internal error response (500) with the given error.
IsNotFoundError returns true if the error is considered a Not Found error.
ManualResponse creates a new manual response responder.
NotFound returns a not found response (404) with the given error.
NotImplemented returns a not implemented response (501) with the given error.
PreconditionFailed returns a precondition failed response (412) with the given error.
SmartError returns the right error message based on err.
SyncResponse returns a new syncResponse with the success and metadata fields set to the provided values.
SyncResponseETag returns a new syncResponse with an etag.
SyncResponseHeaders returns a new syncResponse with headers.
SyncResponseLocation returns a new syncResponse with a location.
SyncResponsePlain return a new syncResponse with plaintext.
SyncResponseRedirect returns a new syncResponse with a location, indicating a permanent redirect.
Unauthorized return an unauthorized response (401) with the given error.
Unavailable return an unavailable response (503) with the given error.
Upgrade takes a hijacked HTTP connection and sends the HTTP 101 Switching Protocols headers for protocolName.
# Variables
EmptySyncResponse represents an empty syncResponse.
# Structs
FileResponseEntry represents a file response entry.
# Interfaces
Response represents an API response.