tool

package
v5.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TopNavigate = navigate.List{
	{
		Display: true,
		Name:    `IP归属地`,
		Action:  `ip`,
	},
	{
		Display: true,
		Name:    `Base64解码`,
		Action:  `base64`,
	},
	{
		Display: true,
		Name:    `URL解码`,
		Action:  `url`,
	},
	{
		Display: true,
		Name:    `时间戳转换`,
		Action:  `timestamp`,
	},
	{
		Display: true,
		Name:    `正则表达式测试`,
		Action:  `regexp_test`,
	},
	{
		Display: true,
		Name:    `附件网址替换`,
		Action:  `replaceurl`,
	},
	{
		Display: true,
		Name:    `生成密码`,
		Action:  `gen_password`,
		Target:  `ajax`,
	},
}

Functions

func Base64

func Base64(c echo.Context) (err error)

func GenPassword

func GenPassword(ctx echo.Context) error

func IP2Region

func IP2Region(c echo.Context) error

func RegexpTest added in v5.2.1

func RegexpTest(c echo.Context) error

func Replace

func Replace(c echo.Context) (err error)

func ReplaceURL

func ReplaceURL(c echo.Context) (err error)

func Timestamp

func Timestamp(c echo.Context) (err error)

func URL

func URL(c echo.Context) (err error)

Types

type RegexpForm added in v5.2.1

type RegexpForm struct {
	Src    string
	Regexp string
	Type   string
	Error  string
	Result interface{}
}

Jump to

Keyboard shortcuts

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