# Functions
DetectContentType implements the algorithm described at https://mimesniff.spec.whatwg.org/ to determine the Content-Type of the given data.
No description provided by the author
FileServer returns a handler that serves HTTP requests with the contents of the file system rooted at root.
FS converts fsys to a FileSystem implementation, for use with FileServer and NewFileTransport.
ServeContent replies to the request using the content in the provided ReadSeeker.
ServeFile replies to the request with the contents of the named file or directory.
No description provided by the author
# Constants
No description provided by the author
# Interfaces
A File is returned by a FileSystem's Open method and can be served by the FileServer implementation.
No description provided by the author
A FileSystem implements access to a collection of named files.
HeaderRenderer renders a header for a FileSystem.
No description provided by the author
# Type aliases
A Dir implements FileSystem using the native file system restricted to a specific directory tree.