frp

package
v3.5.5 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LeftNavigate = &navigate.Item{
	Display: true,
	Name:    `内网穿透`,
	Action:  `frp`,
	Icon:    `road`,
	Children: &navigate.List{
		{
			Display: true,
			Name:    `服务端配置`,
			Action:  `server_index`,
		},
		{
			Display: false,
			Name:    `查看服务端日志`,
			Action:  `server_log`,
		},
		{
			Display: false,
			Name:    `添加服务端配置`,
			Action:  `server_add`,
		},
		{
			Display: false,
			Name:    `修改服务端配置`,
			Action:  `server_edit`,
		},
		{
			Display: false,
			Name:    `删除服务端配置`,
			Action:  `server_delete`,
		},

		{
			Display: true,
			Name:    `账号管理`,
			Action:  `account`,
		},
		{
			Display: false,
			Name:    `添加FRP账号`,
			Action:  `account_add`,
		},
		{
			Display: false,
			Name:    `修改FRP账号`,
			Action:  `account_edit`,
		},
		{
			Display: false,
			Name:    `删除FRP账号`,
			Action:  `account_delete`,
		},

		{
			Display: true,
			Name:    `客户端配置`,
			Action:  `client_index`,
		},
		{
			Display: false,
			Name:    `查看客户端日志`,
			Action:  `client_log`,
		},
		{
			Display: false,
			Name:    `添加客户端配置`,
			Action:  `client_add`,
		},
		{
			Display: false,
			Name:    `修改客户端配置`,
			Action:  `client_edit`,
		},
		{
			Display: false,
			Name:    `删除客户端配置`,
			Action:  `client_delete`,
		},
		{
			Display: true,
			Name:    `分组管理`,
			Action:  `group_index`,
		},
		{
			Display: false,
			Name:    `添加分组`,
			Action:  `group_add`,
		},
		{
			Display: false,
			Name:    `修改分组`,
			Action:  `group_edit`,
		},
		{
			Display: false,
			Name:    `删除分组`,
			Action:  `group_delete`,
		},
		{
			Display: false,
			Name:    `统计图表`,
			Action:  `dashboard`,
			Target:  `_blank`,
		},
		{
			Display: false,
			Name:    `重启服务端`,
			Action:  `server_restart`,
		},
		{
			Display: false,
			Name:    `关闭服务端`,
			Action:  `server_stop`,
		},
		{
			Display: false,
			Name:    `重启客户端`,
			Action:  `client_restart`,
		},
		{
			Display: false,
			Name:    `关闭客户端`,
			Action:  `client_stop`,
		},
		{
			Display: false,
			Name:    `配置表单`,
			Action:  `addon_form`,
		},
	},
}

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 AddonForm

func AddonForm(ctx echo.Context) error

func ClientAdd

func ClientAdd(ctx echo.Context) error

func ClientDashboard

func ClientDashboard(ctx echo.Context) error

func ClientDelete

func ClientDelete(ctx echo.Context) error

func ClientEdit

func ClientEdit(ctx echo.Context) error

func ClientIndex

func ClientIndex(ctx echo.Context) error

func ClientLog

func ClientLog(ctx echo.Context) error

func ClientRestart

func ClientRestart(ctx echo.Context) error

func ClientStop

func ClientStop(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 ServerAdd

func ServerAdd(ctx echo.Context) error

func ServerDashboard

func ServerDashboard(ctx echo.Context) error

func ServerDelete

func ServerDelete(ctx echo.Context) error

func ServerEdit

func ServerEdit(ctx echo.Context) error

func ServerIndex

func ServerIndex(ctx echo.Context) error

func ServerLog

func ServerLog(ctx echo.Context) error

func ServerRestart

func ServerRestart(ctx echo.Context) error

func ServerStop

func ServerStop(ctx echo.Context) error

Types

type Section

type Section struct {
	Section string
	Addon   string
}

Directories

Path Synopsis
plugins

Jump to

Keyboard shortcuts

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