handler

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LeftNavigate = &navigate.Item{
	Display: true,
	Name:    `FTP账号`,
	Action:  `ftp`,
	Icon:    `users`,
	Children: &navigate.List{
		{
			Display: true,
			Name:    `账号管理`,
			Action:  `account`,
		},
		{
			Display: true,
			Name:    `添加账号`,
			Action:  `account_add`,
			Icon:    `plus`,
		},
		{
			Display: true,
			Name:    `用户组`,
			Action:  `group`,
		},
		{
			Display: true,
			Name:    `添加用户组`,
			Action:  `group_add`,
			Icon:    `plus`,
		},
		{
			Display: false,
			Name:    `修改账号`,
			Action:  `account_edit`,
			Icon:    ``,
		},
		{
			Display: false,
			Name:    `删除账号`,
			Action:  `account_delete`,
			Icon:    ``,
		},
		{
			Display: false,
			Name:    `修改分组`,
			Action:  `group_edit`,
			Icon:    ``,
		},
		{
			Display: false,
			Name:    `删除分组`,
			Action:  `group_delete`,
			Icon:    ``,
		},
		{
			Display: false,
			Name:    `重启FTP服务`,
			Action:  `restart`,
			Icon:    ``,
		},
		{
			Display: false,
			Name:    `关闭FTP服务`,
			Action:  `stop`,
			Icon:    ``,
		},
		{
			Display: false,
			Name:    `查看FTP动态`,
			Action:  `log`,
			Icon:    ``,
		},
	},
}

Functions

func AccountAdd

func AccountAdd(ctx echo.Context) error

func AccountDelete

func AccountDelete(ctx echo.Context) error

func AccountEdit

func AccountEdit(ctx echo.Context) error

func AccountIndex

func AccountIndex(ctx echo.Context) error

func GroupAdd

func GroupAdd(ctx echo.Context) error

func GroupDelete

func GroupDelete(ctx echo.Context) error

func GroupEdit

func GroupEdit(ctx echo.Context) error

func GroupIndex

func GroupIndex(ctx echo.Context) error

func Log

func Log(ctx echo.Context) error

func RegisterRoute

func RegisterRoute(r *route.Collection)

func Restart

func Restart(ctx echo.Context) error

func Stop

func Stop(ctx echo.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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