Documentation ¶
Overview ¶
Package static is a handler for the core (https://godoc.org/github.com/volatile/core). It serves files from the "static" directory, wth the "/static" URL path prefix.
Usage ¶
Use adds the handler to the default handlers stack:
static.Use(static.DefaultMaxAge)
Index ¶
Constants ¶
View Source
const ( // DefaultMaxAge provides a default caching value of 1 hour. DefaultMaxAge = 1 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.