Documentation
¶
Index ¶
Constants ¶
View Source
const ( AliYunConst = "aliYun" TencentConst = "tencent" QinNiuConst = "qiNiu" MinioConst = "minio" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Storage ¶
type Storage interface { GetObjectToFile(objectKey, downloadedFileName string) error DeleteObject(objectKey string) error PutObject(objectKey string, reader io.Reader) error PutObjectFromFile(objectKey, filePath string) error IsExists(objectKey string) (bool, error) GetObjectUrl(objectKey string) string }
func GetStorage ¶
Click to show internal directories.
Click to hide internal directories.