package
0.0.1
Repository: https://github.com/coreos/clair.git
Documentation: pkg.go.dev

# Functions

ParseBody reads a JSON-encoded body from a http.Request and unmarshals it into the provided object.
Render writes a JSON-encoded object to a http.ResponseWriter, as well as a HTTP status code.
RenderError writes an error, wrapped in the Message field of a JSON-encoded object to a http.ResponseWriter, as well as a HTTP status code.

# Variables

MaxPostSize is the maximum number of bytes that ParseBody reads from an http.Request.Body.