Documentation ¶
Overview ¶
Package filesystem handles open files and folder directories. This implementation specifically disallows directory listings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileServer ¶
func FileServer(r chi.Router, path string, root http.FileSystem)
FileServer serves the requested file
Types ¶
type FileSystem ¶
FileSystem interface to allow access to local files
Click to show internal directories.
Click to hide internal directories.