handler

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LeftNavigate = &navigate.Item{
	Display: true,
	Name:    `防火墙`,
	Action:  `firewall`,
	Icon:    `shield`,
	Children: &navigate.List{
		{
			Display: true,
			Name:    `静态规则`,
			Action:  `rule/static`,
		},
		{
			Display: false,
			Name:    `添加静态规则`,
			Action:  `rule/static_add`,
		},
		{
			Display: false,
			Name:    `修改静态规则`,
			Action:  `rule/static_edit`,
		},
		{
			Display: false,
			Name:    `删除静态规则`,
			Action:  `rule/static_delete`,
		},
		{
			Display: true,
			Name:    `动态规则`,
			Action:  `rule/dynamic`,
		},
		{
			Display: false,
			Name:    `添加动态规则`,
			Action:  `rule/dynamic_add`,
		},
		{
			Display: false,
			Name:    `修改动态规则`,
			Action:  `rule/dynamic_edit`,
		},
		{
			Display: false,
			Name:    `删除动态规则`,
			Action:  `rule/dynamic_delete`,
		},
	},
}

Functions

func RegisterRoute

func RegisterRoute(r *route.Collection)

Types

This section is empty.

Jump to

Keyboard shortcuts

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