# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Usage:
go web.RedirectToHTTPSFunc(":8080", 5 * time.Second, 5 * time.Second)
Consider HSTS if your clients are browsers.
The user supplies a map of URL prefix to file system directory paths to the server and the server will map each URL, replacing the prefix with the file system directory path from the map.
Simple function for serving embedded files Example usage: If you're serving a directory called "static" as "resources", then you want to call it like this:
SafelyServeFileEmbedded(w, r, "resources/", "static/", embedfs, false).
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author