Versions in this module Expand all Collapse all v0 v0.0.6 Sep 1, 2022 Changes in this version + func Adapt(f func(context.Context, TIN) (TOUT, error)) http.Handler + func AdaptErr(h func(response http.ResponseWriter, request *http.Request) error) func(response http.ResponseWriter, request *http.Request) + func Done(c context.Context) func() + func DumpAPI(r *mux.Router) + func Err(c context.Context, err error) bool + func MWCors(h http.Handler) http.Handler + func Req(c context.Context) *http.Request + func Res(c context.Context) http.ResponseWriter + func Session(c context.Context) *fmodel.Session + func SessionID(c context.Context) string + func SetCorsOpts(o CorsOpts) + func Tenant(c context.Context) string + func Vars(c context.Context) map[string]string + type CorsOpts struct + Origins []string