Versions in this module Expand all Collapse all v0 v0.0.1 Aug 31, 2023 Changes in this version + var ErrNotFound = &NotFoundError + type FS struct + func New(withOptions ...Option) (_ *FS, err error) + func (fs *FS) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (fs *FS) ServeHyperText(w http.ResponseWriter, r *http.Request) (err error) + func (fs *FS) String() string + type NotFoundError struct + func (e *NotFoundError) Error() string + func (e *NotFoundError) HyperTextStatusCode() int + type Option func(*options) error + func WithDirectory(p string) Option + func WithFileSystem(fs fs.FS) Option + func WithPath(external, real string) Option + func WithPathTranslators(ts ...PathTranslator) Option + type PathTranslator func(real string) (external string, accept bool, err error)