Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶ added in v0.3.99
func ListenAndServe(ctx *armadacontext.Context, server *http.Server) error
ListenAndServe calls server.ListenAndServe(). Additionally, it calls server.Shutdown() if ctx is cancelled.
func SinglePageApplicationHandler ¶ added in v0.16.8
func SinglePageApplicationHandler(fsys http.FileSystem) http.Handler
SinglePageApplicationHandler handles requests for a single-page application front end. It prevents caching of index.html responses and defers handling of file paths which cannot be found to the front end by serving index.html in such cases.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.