frontend

package
v0.0.0-...-cbb317a Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRouters

func InitRouters(ctx context.Context, s *server) *gin.Engine

func Serve

func Serve(ctx context.Context, s *server) error

Types

type ChangePasswordReq

type ChangePasswordReq struct {
	ID          uint   `json:"-"`
	Password    string `json:"password"`
	NewPassword string `json:"newPassword"`
}

type ModLogin

type ModLogin struct {
	Username  string `json:"username"`
	Password  string `json:"password"`
	Captcha   string `json:"captcha"`
	CaptchaId string `json:"captchaId"`
}

type SysUserResponse

type SysUserResponse struct {
	User service_swa.SysUser `json:"user"`
}

type TreeMenu

type TreeMenu struct {
	service_swa.SysBaseMenu
	Children []TreeMenu `json:"children" gorm:"-"`
}

Jump to

Keyboard shortcuts

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