Documentation ¶
Index ¶
- type AuthController
- func (ac *AuthController) ForgotPassword(ctx *gin.Context)
- func (ac *AuthController) LogoutUser(ctx *gin.Context)
- func (ac *AuthController) RefreshAccessToken(ctx *gin.Context)
- func (ac *AuthController) SignInUser(ctx *gin.Context)
- func (ac *AuthController) SignUpUser(ctx *gin.Context)
- func (ac *AuthController) VerifyEmail(ctx *gin.Context)
- type TaskController
- type UserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct {
// contains filtered or unexported fields
}
func NewAuthController ¶
func NewAuthController(authService service.AuthService, userService service.UserService, ctx context.Context, storage *storage.MongoStorage, config *config.Config) AuthController
func (*AuthController) ForgotPassword ¶
func (ac *AuthController) ForgotPassword(ctx *gin.Context)
func (*AuthController) LogoutUser ¶
func (ac *AuthController) LogoutUser(ctx *gin.Context)
func (*AuthController) RefreshAccessToken ¶
func (ac *AuthController) RefreshAccessToken(ctx *gin.Context)
func (*AuthController) SignInUser ¶
func (ac *AuthController) SignInUser(ctx *gin.Context)
func (*AuthController) SignUpUser ¶
func (ac *AuthController) SignUpUser(ctx *gin.Context)
func (*AuthController) VerifyEmail ¶
func (ac *AuthController) VerifyEmail(ctx *gin.Context)
type TaskController ¶
type TaskController struct {
// contains filtered or unexported fields
}
func NewTaskController ¶
func NewTaskController(taskService service.TaskService) TaskController
func (*TaskController) CreateTask ¶
func (pc *TaskController) CreateTask(ctx *gin.Context)
func (*TaskController) GetUserTasks ¶
func (pc *TaskController) GetUserTasks(ctx *gin.Context)
func (*TaskController) TaskById ¶
func (pc *TaskController) TaskById(ctx *gin.Context)
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(userService service.UserService) UserController
func (*UserController) GetMe ¶
func (uc *UserController) GetMe(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.