Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorOutput ¶
type Response ¶
type Response struct { Code int `json:"code"` Msg string `json:"msg"` Data interface{} `json:"data"` }
type of Response object
type UserController ¶
type UserController interface { Register(*gin.Context) Update(*gin.Context) Login(ctx *gin.Context) GetUserByID(*gin.Context) GetUsers(*gin.Context) GetProfile(*gin.Context) ResetPassword(*gin.Context) ForgotPassword(*gin.Context) // contains filtered or unexported methods }
func NewUserController ¶
func NewUserController(us userservice.UserService, as authservice.AuthService, es emailservice.EmailService) UserController
NewUserService creates a an instance of User Service
type UserOutput ¶
type UserUpdateInput ¶
Click to show internal directories.
Click to hide internal directories.