controllers

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MenuController struct {
}
func (c *MenuController) Delete(ctx *gin.Context)
func (c *MenuController) Info(ctx *gin.Context)
func (c *MenuController) List(ctx *gin.Context)
func (c *MenuController) Options(ctx *gin.Context)

Options 表单菜单选项接口

func (c *MenuController) PermissionOptions(ctx *gin.Context)

PermissionOptions 附加权限列表的参数接口,用户角色编辑

func (c *MenuController) Store(ctx *gin.Context)

type PermissionController

type PermissionController struct {
}

func (*PermissionController) Delete

func (c *PermissionController) Delete(ctx *gin.Context)

func (*PermissionController) Detail

func (c *PermissionController) Detail(ctx *gin.Context)

func (*PermissionController) Info

func (c *PermissionController) Info(ctx *gin.Context)

func (*PermissionController) List

func (c *PermissionController) List(ctx *gin.Context)

func (*PermissionController) Options

func (c *PermissionController) Options(ctx *gin.Context)

func (*PermissionController) Store

func (c *PermissionController) Store(ctx *gin.Context)

type RoleController

type RoleController struct {
}

func (*RoleController) Delete

func (c *RoleController) Delete(ctx *gin.Context)

func (*RoleController) Detail

func (c *RoleController) Detail(ctx *gin.Context)

func (*RoleController) Info

func (c *RoleController) Info(ctx *gin.Context)

func (*RoleController) List

func (c *RoleController) List(ctx *gin.Context)

func (*RoleController) Options

func (c *RoleController) Options(ctx *gin.Context)

func (*RoleController) Store

func (c *RoleController) Store(ctx *gin.Context)

type UserController

type UserController struct {
}

func (UserController) AuthInfo

func (ctl UserController) AuthInfo(ctx *gin.Context)

func (UserController) AuthStore

func (ctl UserController) AuthStore(ctx *gin.Context)

func (UserController) List

func (ctl UserController) List(ctx *gin.Context)

func (UserController) Menu

func (ctl UserController) Menu(ctx *gin.Context)

func (UserController) Options

func (ctl UserController) Options(ctx *gin.Context)

func (UserController) Status

func (ctl UserController) Status(ctx *gin.Context)

Status 系统检测

func (UserController) UserInfo

func (ctl UserController) UserInfo(ctx *gin.Context)

type UserLoginForm

type UserLoginForm struct {
	Username string `form:"username" json:"username" binding:"required" name:"用户名"`
	Password string `form:"password" json:"password" binding:"required" name:"密码"`
}

type UserPasswordForm

type UserPasswordForm struct {
	CheckPassword string `form:"checkPassword" json:"checkPassword" binding:"required"`
	Password      string `form:"password" json:"password" binding:"required"`
}

Jump to

Keyboard shortcuts

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