package
0.8.9
Repository: https://github.com/influx6/npkg.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New returns a new instance of a VirtualFileSystem as a FileSystem type.
NewSystemGroup returns a new instance of SystemGroup.
NewVirtualFile returns a new instance of VirtualFile.
StripPrefix returns a new GetFile which wraps the previous provided GetFile and always strips provided prefix from incoming path.

# Variables

errors ...
errors ...
errors ...

# Structs

FileFS implements a simple store for storing and retrieving file from underneath nfs.
SystemGroup allows the combination of multiple nfs to respond to incoming request based on initial path prefix.
VirtualFile exposes a slice of []byte and associated name as a http.File.
VirtualFileSystem connects a series of functions which are provided to retrieve bundled files and serve to a http server.

# Interfaces

File defines a interface for representing a file.
FileInfo defines an interface representing a file into.
FilePortal defines an error which exposes methods to treat a underline store has a file system.
FileSystem defines a interface for a virutal nfs representing a file.

# Type aliases

FileMode defines the mode value of a file.
GetFile define a function type that returns a VirtualFile type or an error.