user_ctr

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Login

type Login struct {
}

func NewLogin

func NewLogin() *Login

func (*Login) Login

func (l *Login) Login(ctx *gin.Context, req *api.LoginRequest) (*api.LoginResponse, error)

Login 登录

func (*Login) Logout

func (l *Login) Logout(ctx *gin.Context, req *api.LogoutRequest) (*api.LogoutResponse, error)

Logout 登出

func (*Login) Middleware

func (l *Login) Middleware() gin.HandlerFunc

func (*Login) Register

func (l *Login) Register(ctx context.Context, req *api.RegisterRequest) (*api.RegisterResponse, error)

Register 注册

Jump to

Keyboard shortcuts

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