Versions in this module Expand all Collapse all v1 v1.1.0 May 8, 2024 v1.0.0 May 5, 2023 Changes in this version + func GetFlash(w http.ResponseWriter, r *http.Request, name string) string + func GetUser(req *http.Request) string + func SetFlash(w http.ResponseWriter, name string, value string) + func SetFlashPath(w http.ResponseWriter, name string, value string, path string) + func WithUser(req *http.Request, user string) *http.Request + type Controller struct + func Expose[T any](state func(request *http.Request) (*T, error)) *Controller[T] + func (ch *Controller[T]) Action(name string, ...) *Controller[T] + func (ch *Controller[T]) ServeHTTP(writer http.ResponseWriter, request *http.Request) + func (ch *Controller[T]) View(viewTemplate *template.Template, ...) *Controller[T]