Documentation ¶
Index ¶
- Constants
- type ClientStruct
- func (client *ClientStruct) CreateBucketOfVersion(name string, isVersion bool) bool
- func (client *ClientStruct) DeleteObject(key string) error
- func (client *ClientStruct) GetBucketInfo(name string) oss.GetBucketVersioningResult
- func (client *ClientStruct) GetObjectSoftLink(key string) (data []byte)
- func (client *ClientStruct) IsExist(key string) bool
- func (client *ClientStruct) Upload(uploadType int, suffix string, data multipart.File) (bool, string)
- type OssProgressListener
Constants ¶
View Source
const ( SIMPLE = iota TADD BREAKPOINT BURST )
上传选择类型
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientStruct ¶
var ( Client *ClientStruct ConfigValue map[string]string )
func (*ClientStruct) CreateBucketOfVersion ¶
func (client *ClientStruct) CreateBucketOfVersion(name string, isVersion bool) bool
CreateBucketOfVersion 创建空间,根据版本
func (*ClientStruct) DeleteObject ¶
func (client *ClientStruct) DeleteObject(key string) error
DeleteObject 删除资源
func (*ClientStruct) GetBucketInfo ¶
func (client *ClientStruct) GetBucketInfo(name string) oss.GetBucketVersioningResult
GetBucketInfo 获取空间版本状态信息
func (*ClientStruct) GetObjectSoftLink ¶
func (client *ClientStruct) GetObjectSoftLink(key string) (data []byte)
GetObjectSoftLink 获取Object资源
type OssProgressListener ¶
type OssProgressListener struct { }
定义进度条监听器。
func (*OssProgressListener) ProgressChanged ¶
func (listener *OssProgressListener) ProgressChanged(event *oss.ProgressEvent)
定义进度变更事件处理函数。
Click to show internal directories.
Click to hide internal directories.