Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileSystems ¶
type FileSystems []http.FileSystem
FileSystems is a wrapper for multiple http.FileSystem
type SPA ¶
type SPA struct { FileSystem http.FileSystem Index string // contains filtered or unexported fields }
SPA is an http.Handler that serves static files from a http.FileSystem. If a static file can not be found, the index file is served.
Click to show internal directories.
Click to hide internal directories.