Versions in this module Expand all Collapse all v1 v1.0.0 Jun 16, 2026 Changes in this version + type FileHandler struct + func New(root string, showHidden bool, tmpls map[string]*template.Template) *FileHandler + func NewWithOptions(root string, showHidden bool, tmpls map[string]*template.Template, ...) *FileHandler + func (h *FileHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Options struct + EnableUpload bool + MaxPreviewBytes int64 + MaxUploadBytes int64