v1

package
v0.0.0-...-7c9259c Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SessionBaseKey = "session#"
)

Variables

This section is empty.

Functions

func InitRoutes

func InitRoutes()

Types

type AuthHandler

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

func (*AuthHandler) ActivateUserHandler

func (h *AuthHandler) ActivateUserHandler(c *gin.Context)

func (*AuthHandler) LoginHandler

func (h *AuthHandler) LoginHandler(c *gin.Context)

func (*AuthHandler) RefreshHandler

func (h *AuthHandler) RefreshHandler(c *gin.Context)

func (*AuthHandler) RegisterHandler

func (h *AuthHandler) RegisterHandler(c *gin.Context)

Register godoc @Summary 用户注册 @Description 注册,成为系统用户 @Tags Auth @Accept json @Produce json

type OtherHandler

type OtherHandler struct {
}

func (*OtherHandler) CheckHealthHandler

func (h *OtherHandler) CheckHealthHandler(c *gin.Context)

CheckHealthHandler 健康检查,成功返回 "Success"

type UserHandler

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

func (*UserHandler) GetProfile

func (h *UserHandler) GetProfile(c *gin.Context)

Jump to

Keyboard shortcuts

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