Documentation ¶
Index ¶
- Variables
- func NewCreateTask(log *slog.Logger, taskService service.TaskService) http.HandlerFunc
- func NewDelete(log *slog.Logger, userService service.UserService) http.HandlerFunc
- func NewDeleteTask(log *slog.Logger, taskService service.TaskService) http.HandlerFunc
- func NewLogout(log *slog.Logger, sessionService service.SessionService) http.HandlerFunc
- func NewProfile(log *slog.Logger, userService service.UserService) http.HandlerFunc
- func NewReadTask(log *slog.Logger, taskService service.TaskService) http.HandlerFunc
- func NewReadTasks(log *slog.Logger, taskService service.TaskService) http.HandlerFunc
- func NewSignin(log *slog.Logger, sessionService service.SessionService) http.HandlerFunc
- func NewSignup(log *slog.Logger, userService service.UserService) http.HandlerFunc
- func NewUpdateProfile(log *slog.Logger, userService service.UserService) http.HandlerFunc
- func NewUpdateTask(log *slog.Logger, taskService service.TaskService) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTaskAuthorization = errors.New("you don't have authorization to view this task")
Functions ¶
func NewCreateTask ¶
func NewCreateTask(log *slog.Logger, taskService service.TaskService) http.HandlerFunc
func NewDelete ¶
func NewDelete(log *slog.Logger, userService service.UserService) http.HandlerFunc
func NewDeleteTask ¶
func NewDeleteTask(log *slog.Logger, taskService service.TaskService) http.HandlerFunc
func NewLogout ¶
func NewLogout(log *slog.Logger, sessionService service.SessionService) http.HandlerFunc
func NewProfile ¶
func NewProfile(log *slog.Logger, userService service.UserService) http.HandlerFunc
func NewReadTask ¶
func NewReadTask(log *slog.Logger, taskService service.TaskService) http.HandlerFunc
func NewReadTasks ¶
func NewReadTasks(log *slog.Logger, taskService service.TaskService) http.HandlerFunc
func NewSignin ¶
func NewSignin(log *slog.Logger, sessionService service.SessionService) http.HandlerFunc
func NewSignup ¶
func NewSignup(log *slog.Logger, userService service.UserService) http.HandlerFunc
func NewUpdateProfile ¶
func NewUpdateProfile(log *slog.Logger, userService service.UserService) http.HandlerFunc
func NewUpdateTask ¶
func NewUpdateTask(log *slog.Logger, taskService service.TaskService) http.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.