Versions in this module Expand all Collapse all v0 v0.9.0 Feb 6, 2020 Changes in this version + func ContentEncodingCheckerMiddleWare(next http.Handler) http.Handler + func ContentTypeCheckerMiddleWare(next http.Handler) http.Handler + func Index(w http.ResponseWriter, r *http.Request) + func NewApiRouter(baseRouter *mux.Router) + func RouteWithJsonBody(r *http.Request, rm *mux.RouteMatch) bool + func RouteWithoutJsonBody(r *http.Request, rm *mux.RouteMatch) bool + type Route struct + HandlerFunc http.HandlerFunc + Method string + NeedJsonBody bool + Pattern string