web

package
v0.0.0-...-11f987e Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserClaims

type UserClaims struct {
	jwt.RegisteredClaims
	Id int64
}

type UserHandler

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

func NewUserHandler

func NewUserHandler(svc *service.UserService) *UserHandler

func (*UserHandler) Edit

func (u *UserHandler) Edit(ctx *gin.Context)

func (*UserHandler) EditJWT

func (u *UserHandler) EditJWT(ctx *gin.Context)

func (*UserHandler) Login

func (u *UserHandler) Login(ctx *gin.Context)

func (*UserHandler) LoginJWT

func (u *UserHandler) LoginJWT(ctx *gin.Context)

func (*UserHandler) Profile

func (u *UserHandler) Profile(ctx *gin.Context)

func (*UserHandler) ProfileJWT

func (u *UserHandler) ProfileJWT(ctx *gin.Context)

func (*UserHandler) RegisterRoutes

func (u *UserHandler) RegisterRoutes(server *gin.Engine)

func (*UserHandler) SignUp

func (u *UserHandler) SignUp(ctx *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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