# Functions
No description provided by the author
Db returns a *gorm.DB based on tenant queried from ctx.
No description provided by the author
No description provided by the author
Done returns a func() stored on ctx under the key model.CTX_DONE.
Err responds the request stored on ctx with err.Error() and status http.StatusInternalServerError.
No description provided by the author
Res returns http.ResponseWriter stored on ctx under key model.CTX_RES.
No description provided by the author
SessionID returns the session identifier of the request stored on context.
No description provided by the author
Tenant returns the tenant defined in model.Session stored on ctx.
Vars returns the mux.Vars from the *http.Request stored on ctx.