shorturl

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LeftNavigate = &navigate.Item{
	Display: true,
	Name:    `短链接`,
	Action:  `official/short_url`,
	Icon:    `link`,
	Children: &navigate.List{
		{
			Display: true,
			Name:    `链接管理`,
			Action:  `index`,
		},
		{
			Display: false,
			Name:    `添加链接`,
			Action:  `add`,
		},
		{
			Display: false,
			Name:    `修改链接`,
			Action:  `edit/:id`,
		},
		{
			Display: false,
			Name:    `删除链接`,
			Action:  `delete/:id`,
		},
		{
			Display: true,
			Name:    `访问统计`,
			Action:  `analysis`,
		},
		{
			Display: true,
			Name:    `域名管理`,
			Action:  `domain_index`,
		},
		{
			Display: false,
			Name:    `修改域名`,
			Action:  `domain_edit/:id`,
		},
		{
			Display: false,
			Name:    `删除域名`,
			Action:  `domain_delete/:id`,
		},
	},
}

Functions

func Add

func Add(ctx echo.Context) error

Add 创建短网址

func Analysis

func Analysis(ctx echo.Context) error

Analysis 用户短网址访问统计

func Delete

func Delete(ctx echo.Context) error

Delete 删除短网址

func DomainDelete

func DomainDelete(ctx echo.Context) error

DomainDelete 删除域名

func DomainEdit

func DomainEdit(ctx echo.Context) error

DomainEdit 修改短网址

func DomainIndex

func DomainIndex(ctx echo.Context) error

DomainIndex 域名管理

func Edit

func Edit(ctx echo.Context) error

Edit 修改短网址

func Index

func Index(ctx echo.Context) error

Index 短网址列表

Types

This section is empty.

Jump to

Keyboard shortcuts

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