Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EntryHandler = NewFileHandler()
Functions ¶
Types ¶
type FileHandler ¶
type FileHandler struct {
// contains filtered or unexported fields
}
func NewFileHandler ¶
func NewFileHandler() *FileHandler
func (*FileHandler) AddFS ¶
func (h *FileHandler) AddFS(filesys fs.FS, matches func(path string) bool)
func (*FileHandler) ServeHTTP ¶
func (h *FileHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.