Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddURLService ¶
type AddURLService struct { URL string `json:"url" binding:"required"` Dst string `json:"dst" binding:"required,min=1"` PreferredNode uint `json:"preferred_node"` }
AddURLService 添加URL离线下载服务
type BatchAddURLService ¶
type BatchAddURLService struct { URLs []string `json:"url" binding:"required"` Dst string `json:"dst" binding:"required,min=1"` }
AddURLService 添加URL离线下载服务
type DownloadListService ¶
type DownloadListService struct {
Page uint `form:"page"`
}
DownloadListService 下载列表服务
type DownloadTaskService ¶
type DownloadTaskService struct {
GID string `uri:"gid" binding:"required"`
}
DownloadTaskService 下载任务管理服务
type SelectFileService ¶
type SelectFileService struct {
Indexes []int `json:"indexes" binding:"required"`
}
SelectFileService 选择要下载的文件服务
Click to show internal directories.
Click to hide internal directories.