handler

package
v0.0.0-...-db9179b Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminApi

type AdminApi struct {
	// contains filtered or unexported fields
}

func NewAdminServer

func NewAdminServer(svc v1.IAdminServer) *AdminApi

func (*AdminApi) Delete

func (h *AdminApi) Delete(ctx *gin.Context)

func (*AdminApi) GetItem

func (h *AdminApi) GetItem(ctx *gin.Context)

func (*AdminApi) GetRoleList

func (h *AdminApi) GetRoleList(ctx *gin.Context)

func (*AdminApi) GetSelfInfo

func (h *AdminApi) GetSelfInfo(ctx *gin.Context)

func (*AdminApi) List

func (h *AdminApi) List(ctx *gin.Context)

func (*AdminApi) Login

func (h *AdminApi) Login(ctx *gin.Context)

func (*AdminApi) Logout

func (h *AdminApi) Logout(ctx *gin.Context)

func (*AdminApi) RefreshToken

func (h *AdminApi) RefreshToken(ctx *gin.Context)

RefreshToken 请求头携带rToken

func (*AdminApi) Register

func (h *AdminApi) Register(ctx *gin.Context)

func (*AdminApi) Update

func (h *AdminApi) Update(ctx *gin.Context)

func (*AdminApi) UpdatePassword

func (h *AdminApi) UpdatePassword(ctx *gin.Context)

func (*AdminApi) UpdateRole

func (h *AdminApi) UpdateRole(ctx *gin.Context)

func (*AdminApi) UpdateStatus

func (h *AdminApi) UpdateStatus(ctx *gin.Context)
type MenuApi struct {
	// contains filtered or unexported fields
}

func NewMenuServer

func NewMenuServer(svc v1.IMenuServer) *MenuApi
func (h *MenuApi) Add(ctx *gin.Context)
func (h *MenuApi) Delete(ctx *gin.Context)
func (h *MenuApi) Details(ctx *gin.Context)
func (h *MenuApi) List(ctx *gin.Context)
func (h *MenuApi) TreeList(ctx *gin.Context)
func (h *MenuApi) Update(ctx *gin.Context)
func (h *MenuApi) UpdateHidden(ctx *gin.Context)

type RoleApi

type RoleApi struct {
	// contains filtered or unexported fields
}

func NewRoleServer

func NewRoleServer(svc v1.IRoleServer) *RoleApi

func (*RoleApi) Add

func (h *RoleApi) Add(ctx *gin.Context)

func (*RoleApi) Delete

func (h *RoleApi) Delete(ctx *gin.Context)

func (*RoleApi) Details

func (h *RoleApi) Details(ctx *gin.Context)

func (*RoleApi) List

func (h *RoleApi) List(ctx *gin.Context)

func (*RoleApi) ListAll

func (h *RoleApi) ListAll(ctx *gin.Context)

func (*RoleApi) Update

func (h *RoleApi) Update(ctx *gin.Context)

func (*RoleApi) UpdateStatus

func (h *RoleApi) UpdateStatus(ctx *gin.Context)

Jump to

Keyboard shortcuts

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