Documentation ¶ Index ¶ func Redirect(w http.ResponseWriter, r *http.Request, pathname string, message model.Message) type App func New(config Config, funcMap template.FuncMap) (App, error) type Config func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Redirect ¶ added in v3.34.2 func Redirect(w http.ResponseWriter, r *http.Request, pathname string, message model.Message) Redirect redirect user to a defined path with a message Types ¶ type App ¶ type App interface { Handler(model.TemplateFunc) http.Handler Error(http.ResponseWriter, error) } App of package func New ¶ func New(config Config, funcMap template.FuncMap) (App, error) New creates new App from Config type Config ¶ type Config struct { // contains filtered or unexported fields } Config of package func Flags ¶ func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) Config Flags adds flags for configuring package Source Files ¶ View all Source files handlers.gorenderer.go Directories ¶ Show internal Expand all Path Synopsis model Click to show internal directories. Click to hide internal directories.