Documentation ¶
Index ¶
- func Body(req *http.Request) (types.APIObject, error)
- func IsBrowser(req *http.Request, checkAccepts bool) bool
- func MatchBrowser(req *http.Request, _ *mux.RouteMatch) bool
- func MatchNotBrowser(req *http.Request, match *mux.RouteMatch) bool
- func Parse(apiOp *types.APIRequest, urlParser URLParser) error
- func ReadBody(req *http.Request) (types.APIObject, error)
- func Set(v Vars) mux.MatcherFunc
- func ValidateMethod(request *types.APIRequest) error
- type Decode
- type ParsedURL
- type Parser
- type URLParser
- type Vars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchBrowser ¶
func MatchBrowser(req *http.Request, _ *mux.RouteMatch) bool
func MatchNotBrowser ¶
func MatchNotBrowser(req *http.Request, match *mux.RouteMatch) bool
func Set ¶
func Set(v Vars) mux.MatcherFunc
func ValidateMethod ¶
func ValidateMethod(request *types.APIRequest) error
Types ¶
Click to show internal directories.
Click to hide internal directories.