Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeRequest ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) ChangePassword ¶
type HandlerService ¶
type HandlerService interface { Login(ctx *gin.Context) // use RetrieveInstance to get user Register(ctx *gin.Context) // use CreateInstance to create user GetUser(ctx *gin.Context) // use RetrieveInstance to get user ChangePassword(ctx *gin.Context) // use UpdateInstanceOfPassword to update user }
func NewHandlerService ¶
func NewHandlerService(db *gorm.DB, rd *redis.Client) HandlerService
type LoginRequest ¶
type RegisterRequest ¶
Click to show internal directories.
Click to hide internal directories.