Versions in this module Expand all Collapse all v0 v0.1.0 Nov 25, 2024 Changes in this version + const InKey + func DecodeJSONBody(w http.ResponseWriter, r *http.Request, dst interface{}) error + func HasFormData(r *http.Request) bool + func In(c Context, inputStruct any, opts ...core.Option) error + func ParseInput(rr RequestResponder, inputStruct any, opts ...core.Option) error + func WantsHTML(r *http.Request) bool + func WantsJSON(r *http.Request) bool + type Context interface + type GetSetter interface + Get func(key string) interface{} + Set func(key string, value interface{}) + type MalformedRequest struct + Message string + Status int + func (mr *MalformedRequest) Error() string + type RequestResponder interface + Request func() *http.Request + ResponseWriter func() http.ResponseWriter + type Validator interface + Validate func() error