web

package
v0.0.0-...-ded0ebf Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignUpReq

type SignUpReq struct {
	Email           string `json:"email"`
	Password        string `json:"password"`
	ConfirmPassword string `json:"confirm_password"`
}

type UserHandler

type UserHandler struct {
	ijwt.Handler
	// contains filtered or unexported fields
}

func NewUserHandler

func NewUserHandler(svc service.UserService,
	hdl ijwt.Handler) *UserHandler

func (*UserHandler) RegisterRoutes

func (u *UserHandler) RegisterRoutes(core *mserver.Core)

func (*UserHandler) SignUp

func (u *UserHandler) SignUp(ctx *mserver.Context, req SignUpReq) (server.Result, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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