Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Disk ¶ added in v1.17.0
type Disk struct {
// contains filtered or unexported fields
}
Disk describes a disk access serving
func (*Disk) Reconfigure ¶ added in v1.31.0
Reconfigure VFS
func (*Disk) ServeFileHTTP ¶ added in v1.17.0
ServeFileHTTP serves a file from disk and returns true. It returns false when a file could not been found.
func (*Disk) ServeNotFoundHTTP ¶ added in v1.17.0
ServeNotFoundHTTP tries to read a custom 404 page
Click to show internal directories.
Click to hide internal directories.