package
Version:
v0.0.0-...-f3a3c3f
Opens a new window with list of versions in this module.
Published: Nov 9, 2016
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func Dir(path string) func(*static)
Dir set real directory to serve static files from
New create a new static file server
Default:
dir: ./static
prefix: /public
func Prefix(prefix string) func(*static)
Prefix set prefix to url to serve static files
Source Files
¶
Click to show internal directories.
Click to hide internal directories.