To create a simple interface for users to implement in memory filesystems.
Any struct that implementes the ffs.Fs interface detailed in ffs.go can make use of the server package to serve its files over HTTP and 9p.
The fsutil package implements in-memory files that are compatible with the ffs.Writer and ffs.File interface. The *os.File struct implements both of these as well.
- Diskfs: Serve arbitrary folder from the host OS.
- Pastefs: A fileserver for saving and sharing text snippets.
- MKVfs: Creates files and folders for exploring mkv file structure.
- Domainfs: Mux's between sub filesystem based on http header, or folders over 9p.
- Mediafs: Filesystem counterpart to anidb2json.
- Jukeboxfs: Parses directory to create file tree based on audio file metainfo
./ffs http_port https_port 9p_port config_file
./ffs 8080 4430 5640 config.json
will create a default config.json if it doesn't exist with
sample values, serving http, https, and 9p on the specified ports.