Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLogger ¶
AccessLogger logs information about incoming HTTP requests.
func AdminUser ¶
func AdminUser(h http.HandlerFunc) http.HandlerFunc
AdminUser requires the user to have administration privileges to access content.
func AuthenticatedUser ¶
func AuthenticatedUser(h http.HandlerFunc) http.HandlerFunc
AuthenticatedUser requires the user to be authenticated.
func StaticCacheControl ¶
func StaticCacheControl(h http.Handler) http.HandlerFunc
StaticCacheControl sets the Cache-Control header for static assets.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.