40 lines
354 B
Go
40 lines
354 B
Go
package storage
|
|
|
|
//import ()
|
|
|
|
type LocalStorage {
|
|
BaseDir string
|
|
}
|
|
|
|
func UploadFile(dirPath, filename string, data io.Reader) error {
|
|
//
|
|
}
|
|
|
|
func ListFiles(dirPath) {
|
|
//
|
|
}
|
|
|
|
func ReadFile() {
|
|
//
|
|
}
|
|
|
|
func WriteFile() {
|
|
//
|
|
}
|
|
|
|
func CloseFile() {
|
|
//
|
|
}
|
|
|
|
func DeleteFile() {
|
|
//
|
|
}
|
|
|
|
func DeleteDirectory() {
|
|
//
|
|
}
|
|
|
|
func DeleteDirectoryRecursive() {
|
|
//
|
|
}
|