handlers

package
v0.0.0-...-ebfcf3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL