handler

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LeftNavigate = &navigate.Item{
	Display: true,
	Name:    `离线下载`,
	Action:  `download`,
	Icon:    `download`,
	Children: &navigate.List{
		{
			Display: true,
			Name:    `下载管理`,
			Action:  `index.html`,
		},
		{
			Display: true,
			Name:    `文件管理`,
			Action:  `file`,
		},
		{
			Display: false,
			Name:    `总进度信息`,
			Action:  `progress.json`,
		},
		{
			Display: false,
			Name:    `添加任务`,
			Action:  `add_task`,
		},
		{
			Display: false,
			Name:    `删除任务`,
			Action:  `remove_task`,
		},
		{
			Display: false,
			Name:    `启动任务`,
			Action:  `start_task`,
		},
		{
			Display: false,
			Name:    `停止任务`,
			Action:  `stop_task`,
		},
		{
			Display: false,
			Name:    `重启任务`,
			Action:  `restart_task`,
		},
		{
			Display: false,
			Name:    `启动所有任务`,
			Action:  `start_all_task`,
		},
		{
			Display: false,
			Name:    `停止所有任务`,
			Action:  `stop_all_task`,
		},
		{
			Display: false,
			Name:    `单个文件进度信息`,
			Action:  `progress/*`,
		},
	},
}
View Source
var Server = &service.DServ{}

Functions

func File

func File(ctx echo.Context) error

func RegisterRoute

func RegisterRoute(r module.Router)

Types

This section is empty.

Jump to

Keyboard shortcuts

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