Versions in this module Expand all Collapse all v0 v0.6.0 May 25, 2016 Changes in this version + const APIVersionKey + func BoolValue(r *http.Request, k string) bool + func BoolValueOrDefault(r *http.Request, k string, d bool) bool + func CheckForJSON(r *http.Request) error + func CloseStreams(streams ...interface{}) + func HijackConnection(w http.ResponseWriter) (io.ReadCloser, io.Writer, error) + func Int64ValueOrDefault(r *http.Request, field string, def int64) (int64, error) + func Int64ValueOrZero(r *http.Request, k string) int64 + func ParseForm(r *http.Request) error + func ParseMultipartForm(r *http.Request) error + func VersionFromContext(ctx context.Context) (ver version.Version) + func WriteError(w http.ResponseWriter, err error) + func WriteJSON(w http.ResponseWriter, code int, v interface{}) error + type APIFunc func(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) error + type ArchiveOptions struct + Name string + Path string + func ArchiveFormValues(r *http.Request, vars map[string]string) (ArchiveOptions, error)