common

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteInfo

type RouteInfo struct {
	Method     string   `json:"method"`
	Path       string   `json:"path"`
	NewPath    string   `json:"new_path"`
	MethodList []string `json:"method_list"`
}

RouteInfo 路由信息

type RouteRequest

type RouteRequest struct {
	RType  string `form:"rtype" json:"rtype" binding:"required"`     // 路由前缀类型 backend frontend
	RoleId int    `form:"role_id" json:"role_id" binding:"required"` // 角色ID
}

RouteRequest 路由请求参数

Jump to

Keyboard shortcuts

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