Documentation ¶
Overview ¶
Package multifs MultiHashFS combines multiple hashfs instances to serve files from each.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiHashFS ¶
type MultiHashFS struct {
// contains filtered or unexported fields
}
func New ¶
func New(instances ...*hashfs.FS) *MultiHashFS
New creates a new MultiHashFS instance and converts each hashfs.FS to an http.FileSystem.
Click to show internal directories.
Click to hide internal directories.