Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface { CreateFile(filePath string, data []byte) error CreateDir(dirPath string, perm os.FileMode) error Rename(old, file string) error ReadDir(dirPath string) ([]os.FileInfo, error) ReadFile(filePath string) ([]byte, error) Glob(pattern string) ([]string, error) Exist(filePath string) bool Stat(filePath string) (os.FileInfo, error) Delete(filePath string) error DeleteAll(path string) error }
func NewLocalStorageDriver ¶
func NewPhotoThumbnailDriver ¶
func NewPhotoThumbnailDriver() Driver
Click to show internal directories.
Click to hide internal directories.