Versions in this module Expand all Collapse all v1 v1.0.0 Jul 29, 2023 Changes in this version + func FileServer(fsys fs.FS) http.Handler + func HashAlgo(algo crypto.Hash) optionFunc + func HashLength(l uint) optionFunc + func HashLocationEnd() optionFunc + func HashLocationFirstPeriod() optionFunc + func HashLocationStart() optionFunc + func MaxAge(d time.Duration) optionFunc + type HFS struct + func NewFS(fsys fs.FS, options ...optionFunc) *HFS + func (hfs *HFS) GetHashPath(originalPath string) (hashPath string) + func (hfs *HFS) Open(path string) (f fs.File, err error)