# Functions
Authenticat wraps an httpx.Handler in the Authentication middleware to authenticate the request.
Decode json decodes the request body into v.
Encode json encodes v into w.
Error is used to respond with errors in the heroku error format, which is specified at https://devcenter.heroku.com/articles/platform-api-reference#errors
If an ErrorResource is provided as the error, and it provides a non-zero status, that will be used as the response status code.
New creates the API routes and returns a new http.Handler to serve them.
NoContent responds with a 404 and an empty body.
RangeHeader parses the Range header and returns an headerutil.Range.
Stream encodes and flushes data to the client.
UserFromContext returns a user from a context.Context if one is present.
WithUser adds a user to the context.Context.
# Constants
The Accept header that controls the api version.
No description provided by the author
# Variables
Named matching heroku's error codes.
Named matching heroku's error codes.
Named matching heroku's error codes.
Named matching heroku's error codes.
Named matching heroku's error codes.
Named matching heroku's error codes.
# Structs
Middleware for handling authentication.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrorResource represents the error response format that we return.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PostDeployForm is the form object that represents the POST body.
PostDeploys is a Handler for the POST /v1/deploys endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author