Documentation
¶
Index ¶
- func File(name string, r ContentReader) http.File
- func Files(files ...string) http.FileSystem
- func FilesWithContent(files ...string) http.FileSystem
- func HttpFile(name string, resp *http.Response) http.File
- func Root() http.FileSystem
- func Union(fs ...http.FileSystem) http.FileSystem
- func WithTracker(fs http.FileSystem, root string, exts ...string) http.FileSystem
- type ContentReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Files ¶
func Files(files ...string) http.FileSystem
func FilesWithContent ¶
func FilesWithContent(files ...string) http.FileSystem
func Root ¶ added in v1.12.1
func Root() http.FileSystem
func Union ¶
func Union(fs ...http.FileSystem) http.FileSystem
func WithTracker ¶ added in v1.12.3
func WithTracker(fs http.FileSystem, root string, exts ...string) http.FileSystem
Types ¶
Click to show internal directories.
Click to hide internal directories.