Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dir ¶
type Dir struct {
// contains filtered or unexported fields
}
Dir implements the HTTP directory.
type File ¶
File implements the HTTP file.
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem implements the HTTP filesystem.
func NewFileSystem ¶
func NewFileSystem(fs BillyFs, prefix string) *FileSystem
NewFileSystem constructs the FileSystem from a Billy FileSystem.
Prefix is a path prefix to prepend to file paths for HTTP. The prefix is trimmed from the paths when opening files.
Click to show internal directories.
Click to hide internal directories.