Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SPAHandler ¶ added in v0.25.1
SPAHandler serves the built React SPA. For paths matching a file in static/dist/ it serves that file; all other paths receive index.html (SPA fallback).
func StaticHandler ¶
StaticHandler serves files from the embedded static/ directory at GET /static/.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.