aria2

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2024 License: MIT Imports: 0 Imported by: 0

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 选择要下载的文件服务

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL