# Functions
No description provided by the author
# Structs
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
No description provided by the author
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
* Base file response
*/.
*
* complete file request
*/.
*
* create file request
*/.
*
* base domain response
*/.
*
* Base drive response
*/.
*
* list_file_by_anonymous base response
*/.
*
*
*/.
*
* 获取文件上传URL
*/.
*
* Base file response
*/.
*
* Base image process
*/.
*
* list file request
*/.
*
*
*/.
*
* 文件移动请求
*/.
*
* list_share_link response
*/.
*
* List share response
*/.
*
* 批处理
*/.
*
* batch operation response
*/.
*
*
*/.
*
*
*/.
*
* Benefit base info of benefit package
*/.
*
* Benefit meta response
*/.
*
* Benefit package delivery info
*/.
*
* cancel_share_link request
*/.
*
*
*/.
*
* 获取文件夹size信息
*/.
*
* 获取分享中文件媒体播放地址的请求body
*/.
*
* 获取分享中媒体播放地址response
*/.
*
* 获取转码信息请求
*/.
*
* 获取转码信息响应
*/.
*
* 遍历文件
*/.
*
* 列举文件response
*/.
*
*
*/.
No description provided by the author
*
*
*/.
*
* 合并文件上传任务
*/.
*
* complete file response
*/.
No description provided by the author
*
* 文件拷贝
*/.
*
* 文件拷贝 response
*/.
*
*
*/.
No description provided by the author
*
*
*/.
*
*
*/.
No description provided by the author
*
* create domain request
*/.
*
* create domain response
*/.
*
* create drive request
*/.
*
* Create drive response
*/.
*
* 创建文件
*/.
*
* Create file response
*/.
*
* create_share_link request
*/.
*
* create_share_link response
*/.
*
* create share request
*/.
*
* Create share response
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
No description provided by the author
*
*
*/.
No description provided by the author
*
*
*/.
No description provided by the author
*
*
*/.
No description provided by the author
*
*
*/.
*
*
*/.
No description provided by the author
*
* delete domain request
*/.
*
* Delete drive request
*/.
*
* delete drive response
*/.
*
* 删除文件请求
*/.
*
* 删除文件 response
*/.
*
* 批量删除文件请求
*/.
*
* 批量删除文件 response
*/.
*
* delete share request
*/.
*
*
*/.
*
*
*/.
*
* domain update name request
*/.
*
* 下载文件请求body
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
* the file op info
*/.
*
*
*/.
No description provided by the author
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
* 获取异步人去信息
*/.
*
* Get AsyncTask Response
*/.
No description provided by the author
*
*
*/.
*
*
*/.
No description provided by the author
*
*
*/.
No description provided by the author
*
*
*/.
*
* Get default drive request
*/.
*
* 获取文件夹size信息
*/.
No description provided by the author
*
* get domain request
*/.
*
* get domain response
*/.
*
* 获取文件下载地址的请求body
*/.
*
* 获取download url response
*/.
*
* Get drive request
*/.
*
* Get drive response
*/.
*
* 根据路径获取 File 接口 body
*/.
*
* 根据路径获取文件元数据response
*/.
*
* 获取文件元数据
*/.
*
* 获取文件元数据response
*/.
*
* 获取最新游标
*/.
*
* get last file op cursor response
*/.
*
* get_media_play_url request
*/.
*
* get_media_play_url response
*/.
*
* GetOfficeEditUrlOption 权限控制
*/.
*
* 获取office文档在线编辑地址
*/.
*
* 获取office文档在线编辑地址 response
*/.
*
* GetOfficeEditUrlWatermark 水印配置
*/.
*
* 获取office文档预览地址
*/.
*
* 获取文档预览地址 response
*/.
No description provided by the author
*
*
*/.
*
* get_share_link_by_anonymous request
*/.
*
* get_share_link_by_anonymous response
*/.
*
* 获取分享中文件下载地址的请求body
*/.
*
* 获取分享中文件数据response
*/.
*
* get_share_id request
*/.
*
* get_share_id response
*/.
*
* get_share request
*/.
*
* get_share_token request
*/.
*
* get_share_token response
*/.
*
* get share request
*/.
*
* Get share response
*/.
*
* 获取文件上传URL
*/.
*
* Get UploadUrl Response
*/.
*
* 获取视频雪碧图地址的请求body
*/.
*
* 获取视频雪碧图地址 url response
*/.
*
* 获取视频文件播放地址的请求body
*/.
*
* 获取视频文件播放 url response
*/.
*
* complete file request
*/.
*
* complete file response
*/.
*
* copy file request
*/.
*
* 文件拷贝 response
*/.
*
* create file request
*/.
*
* Create file response
*/.
*
* 删除文件请求
*/.
*
* 删除文件 response
*/.
*
* 批量删除文件 response
*/.
*
* 获取文件下载地址的请求body
*/.
*
* 获取download url response
*/.
*
* 获取文件元数据
*/.
*
* 获取文件元数据response
*/.
*
* 获取文件安全地址的请求body
*/.
*
* 获取secure url response
*/.
*
* 获取文件上传URL
*/.
*
* Get UploadUrl Response
*/.
*
* list file request
*/.
*
* List file response
*/.
*
* 列举uploadID对应的已上传分片
*/.
*
* 获取签名 response
*/.
*
* 文件移动请求
*/.
*
* 文件移动 response
*/.
*
* search file response
*/.
*
* 更新文件元数据 response
*/.
*
* 获取视频分辨率列表
*/.
*
* 转码接口response
*/.
*
* 获取视频DRM License
*/.
*
* DRM License response
*/.
*
* 获取视频的m3u8文件
*/.
*
* 启动视频转码请求
*/.
*
* 转码接口response
*/.
*
* Identity benefit package response
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
No description provided by the author
*
*
*/.
*
*
*/.
*
* list_file_by_anonymous request
*/.
*
* list_file_by_anonymous response
*/.
*
* list domain cors response
*/.
No description provided by the author
*
* list domain request
*/.
*
* list domain response
*/.
*
* List drive request
*/.
*
* list drive response
*/.
*
*
*/.
*
* list file activity response
*/.
*
* 列举文件
*/.
*
* 获取增量文件操作记录
*/.
*
* list file op response
*/.
*
* 列举文件
*/.
*
* List file response
*/.
No description provided by the author
*
* List identity benefit package request
*/.
*
* List identity benefit package response
*/.
*
* List my drive request
*/.
No description provided by the author
*
* list_share_link request
*/.
*
* list_share_link response
*/.
*
* list share request
*/.
*
* List share response
*/.
*
* list store file
*/.
*
* List storage file
*/.
*
* list storage file
*/.
*
* List storage
*/.
No description provided by the author
*
*
*/.
*
*
*/.
*
* 列举uploadID对应的已上传分片
*/.
*
* 获取签名 response
*/.
*
* 实时转码信息task响应
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
* 文件移动请求
*/.
*
* 文件移动 response
*/.
*
* OfficePreviewConfig 文档预览配置
*/.
*
* play_media request
*/.
*
* Pre hash check Response
*/.
*
* 下载限速配置
*/.
*
* 刷新office文档在线编辑凭证
*/.
*
* 刷新office文档在线编辑凭证 response
*/.
No description provided by the author
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
No description provided by the author
*
* 全量获取file元信息的请求body
*/.
*
* scan file meta response
*/.
*
* search domain request
*/.
*
* 搜索文件元数据
*/.
*
* search file response
*/.
No description provided by the author
*
*
*/.
No description provided by the author
*
*
*/.
*
*
*/.
No description provided by the author
*
*
*/.
*
*
*/.
No description provided by the author
*
* list cors rule request
*/.
No description provided by the author
*
*
*/.
*
*
*/.
No description provided by the author
No description provided by the author
*
*
*/.
No description provided by the author
*
*
*/.
*
* 对应OSS Sha1的结构体,定义在 gitlab.alibaba-inc.com/oss/parallel_hash.go OSSSha1Digest
type OSSSha1Digest struct {
h [5]uint32 // h是计算sha1时存放中间结果的变量,参与每一轮Sha1的计算,必不可少,最后的Sha1值也由这几个数字决定
x [BlockSize]byte // 上一轮计算非64字节对齐时,不足64节的内容会保存在这里
nx int // 上一轮计算数据长度取模64的结果,64字节对齐时这个值为0
len uint64 // 到上一个数据块为止的总长度,字节,用来计算 OSSRequestSha1Ctx 中的Nl, Nh
}
SHA1CTX 是 OSSSha1Digest 的简化
当每轮计算Sha1的数据长度为64位对齐时,nx固定为0,x长度为0,只需包含h和len;part_offset对应OSSSha1Digest的len
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
* UCGetObjectInfoByObjectKeyRequest
*/.
*
* UCGetObjectInfoBySha1Request
*/.
*
*
*/.
*
*
*/.
No description provided by the author
*
*
*/.
No description provided by the author
*
* update domain request
*/.
*
* create domain response
*/.
*
* Update drive request
*/.
*
* Update drive response
*/.
*
* 更新文件元数据
*/.
*
* 更新文件元数据 response
*/.
No description provided by the author
*
* update_share_link request
*/.
*
* update_share_link response
*/.
*
* update share request
*/.
*
* Update share response
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
* domain config --------
*/.
*
*
*/.
*
* 获取转码信息meta响应
*/.
*
* 转码信息响应
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
* 雪碧图抓图间隔配置。如果配置异常,默认以1%抓图
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
*
*/.
*
* 同时满足以下所有null条件,则不触发转码。如果没有配置任何条件,那么不触发过滤
*/.
*
*
*/.