Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶ added in v0.0.2
type FileInfo struct {
// contains filtered or unexported fields
}
func NewFileInfo ¶ added in v0.0.5
type IFileStorage ¶
type IFileStorage interface {
Write(fileName string, fileSize int64, reader io.ReadSeeker) error
Read(fileName string) (io.ReadCloser, error)
FileSize(fileName string) (int64, error)
DeleteDirectory(directory string) error
DeleteFile(fileName string) error
Walk(directory string, walk WalkFunc) error
// Join the paths together and clean up path
Join(paths ...string) string
}
IFileStorage is the interface for a filestorage used by the ecosystem
Click to show internal directories.
Click to hide internal directories.