Documentation
¶
Overview ¶
Package web implements handlers and helpers for an application building a web server that uses the virtual package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
ErrorHandler captures 404 and 500 errors and serves /404.html or /500.html from the file system.
func ExpiresHandler ¶
ExpiresHandler adds the expires header choosing expires for dynamic content and staticExpires for static content.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.