Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileWriter ¶
type FileWriter interface {
io.WriteCloser
Size() int64
Cancel() error
Commit() error
}
type StorageDriver ¶
type StorageDriver interface {
Name() string
GetContent(string) ([]byte, error)
PutContent(string, []byte) error
Reader(string) (io.ReadCloser, error)
Writer(string) (FileWriter, error)
Stat(string) (FileInfo, error)
List(string) ([]string, error)
Move(string, string) error
Delete(string) error
Walk(string) ([]FileInfo, error)
WalkDir(string) ([]string, error)
//WalkDirWithDepth(from string, depth int) ([]string, error)
RootDirectory() string
}
Click to show internal directories.
Click to hide internal directories.