Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupReq ¶ added in v0.0.3
func NewBackupReq ¶ added in v0.0.3
func NewBackupReq() *BackupReq
type DeleteReq ¶
func NewDeleteReq ¶
func NewDeleteReq() *DeleteReq
type DownloadReq ¶
type DownloadReq struct {
GlobalReq
OutputDir string
OutputPath string
IsSync bool
IsRecursion bool
}
func NewDownloadReq ¶
func NewDownloadReq() *DownloadReq
type GlobalReq ¶
func NewGlobalReq ¶
func NewGlobalReq() *GlobalReq
type ListReq ¶
func NewListReq ¶
func NewListReq() *ListReq
type LoginReq ¶
func NewLoginReq ¶
func NewLoginReq() *LoginReq
type LogoutReq ¶ added in v0.0.9
LogoutReq 登出命令请求参数。
字段说明:
- Yes: 跳过确认提示,直接执行登出
- KeepCredential: 保留应用凭证(AppID/AppKey/SecretKey),默认 true
func NewLogoutReq ¶ added in v0.0.9
func NewLogoutReq() *LogoutReq
NewLogoutReq 创建 LogoutReq 实例,KeepCredential 默认为 true。
设计说明:当前版本不区分应用凭证和用户 token,KeepCredential 字段 为接口一致性预留,未来多账号场景下可扩展。
type RefreshReq ¶
func NewRefreshReq ¶
func NewRefreshReq() *RefreshReq
Click to show internal directories.
Click to hide internal directories.