Documentation ¶
Overview ¶
Package virtualfs implements an in-memory abstraction of fs.Directory and fs.StreamingFile.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStaticDirectory ¶
NewStaticDirectory returns a virtual static directory.
func StreamingFileFromReader ¶
func StreamingFileFromReader(name string, reader io.Reader) fs.StreamingFile
StreamingFileFromReader returns a streaming file with given name and reader.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.