Versions in this module Expand all Collapse all v1 v1.0.0 Jan 30, 2018 Changes in this version + func DecodeJSONRequest(w http.ResponseWriter, r *http.Request, result interface{}) bool + func HandleDbError(w http.ResponseWriter, err error) + func ReadDBProjectID(w http.ResponseWriter, r *http.Request) (db.ProjectID, bool) + func ReadDBVersionID(w http.ResponseWriter, r *http.Request) (db.VersionID, bool) + func WriteJSONResponse(w http.ResponseWriter, httpStatus int, payload interface{}) bool + func WriteJSONResponseWithHeaders(w http.ResponseWriter, httpStatus int, headers map[string]string, ...) bool