Versions in this module Expand all Collapse all v0 v0.8.2 Feb 7, 2025 v0.8.1 Feb 5, 2025 v0.8.0 Jan 19, 2025 Changes in this version + type Folder struct + Browse bool + BrowseCache string + CacheRegex []*RegexCacheStore + DisableFolderSlashRedirect bool + FilePathRegex []*RegexPathStore + Index bool + IndexName string + Path string + PrefixPath string + SPA bool + SPAEnableFile bool + SPAIndex string + SPAIndexRegex []*RegexPathStore + StripIndexName bool + UTC bool + func (f *Folder) Cache(w http.ResponseWriter, fileName string) + func (f *Folder) Middleware() (func(http.Handler) http.Handler, error) + func (f *Folder) ServeContent(w http.ResponseWriter, req *http.Request, name string, modtime time.Time, ...) + func (f *Folder) SetFs(fs http.FileSystem) + type RegexCacheStore struct + CacheControl string + Regex string + type RegexPathStore struct + Regex string + Replacement string