Documentation ¶
Index ¶
- type Result
- type UserClaims
- type UserHandler
- func (u *UserHandler) Edit(ctx *gin.Context)
- func (u *UserHandler) Login(ctx *gin.Context)
- func (u *UserHandler) LoginJwt(ctx *gin.Context)
- func (u *UserHandler) LoginSMS(ctx *gin.Context)
- func (u *UserHandler) Logout(ctx *gin.Context)
- func (u *UserHandler) Profile(ctx *gin.Context)
- func (u *UserHandler) ProfileJwt(ctx *gin.Context)
- func (u *UserHandler) RegisterRoutes(server *gin.Engine)
- func (u *UserHandler) SendLoginSMSCode(ctx *gin.Context)
- func (u *UserHandler) SignUp(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserClaims ¶
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(svc service.UserService, codeSvc service.CodeService) *UserHandler
func (*UserHandler) Edit ¶
func (u *UserHandler) Edit(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) LoginSMS ¶
func (u *UserHandler) LoginSMS(ctx *gin.Context)
func (*UserHandler) Logout ¶
func (u *UserHandler) Logout(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) SendLoginSMSCode ¶
func (u *UserHandler) SendLoginSMSCode(ctx *gin.Context)
func (*UserHandler) SignUp ¶
func (u *UserHandler) SignUp(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.