Versions in this module Expand all Collapse all v1 v1.0.6 Sep 20, 2020 v1.0.5 Aug 25, 2020 Changes in this version + var Extension = newCategory("extension api", "/api/ext") + var Legacy = newCategory("legacy api", "") + var V1 = newCategory("v1 api", "/api/v1") + func HandleErrorResponse(w http.ResponseWriter, err error) error + func ParseJSONRequest(req io.Reader, target interface{}, validator ValidateFunc) error + func SendResponse(w http.ResponseWriter, code int, data interface{}) error + func WrapHandler(handler HandlerFunc) http.HandlerFunc + type HandlerFunc func(ctx context.Context, rw http.ResponseWriter, req *http.Request) error + type HandlerSpec struct + HandlerFunc HandlerFunc + Method string + Path string + type ValidateFunc func(registry strfmt.Registry) error