Documentation
¶
Overview ¶
Package router provides the main router. It translates http requests to App actions and creates http responses.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRouter ¶
func NewRouter(renderer *htmltemplate.Renderer, staticFS http.FileSystem, app *app.App) http.Handler
NewRouter creates the main router for the application.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.