Versions in this module Expand all Collapse all v1 v1.0.14 Mar 10, 2020 Changes in this version + const LogFieldNameFunction + func LogFunction(name string) *log.Entry + func ServeStaticDir(r chi.Router, public string, static http.Dir) + func ServeStaticFile(r chi.Router, path, filepath string) + type AppInfoHandler struct + Build string + Version string + func (a *AppInfoHandler) HandleAppInfo(user security.User, w http.ResponseWriter, r *http.Request) error + type AppInfoResponse struct + func (a AppInfoResponse) Render(w http.ResponseWriter, r *http.Request) error + type Handler struct + ErrRep *errors.ErrorReporter + func (h *Handler) Call(f func(w http.ResponseWriter, r *http.Request) error) http.HandlerFunc + func (h *Handler) Secure(f func(user security.User, w http.ResponseWriter, r *http.Request) error) http.HandlerFunc + type Meta struct + UserInfo UserInfo + Version VersionInfo + type TemplateHandler struct + AppName string + Build string + CookieSettings cookies.Settings + TemplateDir string + Version string + func (h *TemplateHandler) HandleError(w http.ResponseWriter, r *http.Request) error + type UserInfo struct + DisplayName string + Email string + Roles []string + UserID string + UserName string + type VersionInfo struct + Build string + Version string