Documentation ¶
Index ¶
- type OssAliyun
- func (t *OssAliyun) BucketList() (_buckets []string, _err error)
- func (t *OssAliyun) DeleteAllFiles() (_err error)
- func (t *OssAliyun) DeleteFile(file_name string) (_err error)
- func (t *OssAliyun) GetBucketStat() (_status map[string]interface{}, _err error)
- func (t *OssAliyun) UploadFile(time_out time.Duration, file_path_name, prop string, file interface{}) (_file_url string, _err error)
- type OssMinIO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OssAliyun ¶
type OssAliyun struct { AccessKeyId string AccessKeySecret string NameBucket string Expires int Client *oss.Client Bucket *oss.Bucket }
阿里OSS
func NewOssAliyun ¶
func (*OssAliyun) BucketList ¶
func (*OssAliyun) DeleteAllFiles ¶
func (*OssAliyun) DeleteFile ¶
func (*OssAliyun) GetBucketStat ¶
type OssMinIO ¶
type OssMinIO struct { AccessKeyId string AccessKeySecret string NameBucket string Expires int Client *minio.Client }
OSS
func NewOssMinIO ¶
func (*OssMinIO) DeleteAllFiles ¶
func (*OssMinIO) DeleteFile ¶
func (*OssMinIO) ListObjects ¶
Click to show internal directories.
Click to hide internal directories.