Versions in this module Expand all Collapse all v3 v3.3.3 Jan 18, 2021 Changes in this version + const Continue + const Directory + const Forbidden + const NotFound + const ServiceUnavailable + type Assets struct + MaxAge time.Duration + NotFound http.Handler + Spa bool + UnwantedPrefixSegments int + func NewAssetHandler(assetPath string) *Assets + func NewAssetHandlerFS(fs afero.Fs) *Assets + func (a *Assets) ServeHTTP(w http.ResponseWriter, req *http.Request) + func (a Assets) StripOff(unwantedPrefixSegments int) *Assets + func (a Assets) WithMaxAge(maxAge time.Duration) *Assets + func (a Assets) WithNotFound(notFound http.Handler) *Assets + func (a Assets) WithSPA() *Assets + type Printer func(format string, v ...interface{}) + var Debugf Printer = func(format string, v ...interface{}) { ... } Other modules containing this package github.com/daubit/servefiles