Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OSS ¶
type OSS interface {
// Upload 上传本地文件。
Upload(fileName string, filePath string, localFile string) (string, error)
// UploadByByte 上传内存数据。
UploadByByte(fileName string, filePath string, fileByte []byte) (string, error)
// GetFileByte 下载对象内容。
GetFileByte(filePath string) ([]byte, error)
// DeleteFile 删除对象。
DeleteFile(filePath string) error
}
OSS 定义项目统一使用的对象存储能力。
Click to show internal directories.
Click to hide internal directories.