Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem interface {
fs.FS
Create(path string, attr *struct{}) (File, error)
Remove(path string) error
}
A FileSystem provides access to a hierarchical file system. The abstraction support I/O to local file system or AWS S3. Use it with https://github.com/fogfish/stream
type Worker ¶
type Worker struct {
Reader FileSystem
Writer FileSystem
}
File system worker
func NewWorker ¶
func NewWorker(reader, writer FileSystem) *Worker
Click to show internal directories.
Click to hide internal directories.