httphandlers

package
v0.0.0-...-cff06d4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorResponse

func ErrorResponse(rw http.ResponseWriter, status, message string, statusCode int)

func HandleCreateTaskEndpoint

func HandleCreateTaskEndpoint(tasksService *tasks.Service, usersService *users.Service) http.HandlerFunc

HandleCreateTaskEndpoint is the http endpoint handler for creating a new task.

func HandleCreateUserEndpoint

func HandleCreateUserEndpoint(usersService *users.Service) http.HandlerFunc

func HandleDeleteTaskEndpoint

func HandleDeleteTaskEndpoint(tasksService *tasks.Service) http.HandlerFunc

HandleDeleteTaskEndpoint is the http endpoint handler for deleting task.

func HandleDeleteUserEndpoint

func HandleDeleteUserEndpoint(usersService *users.Service) http.HandlerFunc

HandleDeleteUserEndpoint is the http endpoint handler for deleting user.

func HandleGetTaskEndpoint

func HandleGetTaskEndpoint(tasksService *tasks.Service) http.HandlerFunc

HandleGetTaskEndpoint is the http endpoint handler to get task details.

func HandleGetTasksEndpoint

func HandleGetTasksEndpoint(tasksService *tasks.Service) http.HandlerFunc

HandleGetTasksEndpoint is the http endpoint handler for retrieving user tasks.

func HandleGetUserEndpoint

func HandleGetUserEndpoint(usersService *users.Service) http.HandlerFunc

HandleGetUserEndpoint is the http endpoint handler to get user details.

func HandleGetUsersEndpoint

func HandleGetUsersEndpoint(usersService *users.Service) http.HandlerFunc

HandleGetUsersEndpoint is the http endpoint handler for retrieving users.

func HandleUpdateTaskEndpoint

func HandleUpdateTaskEndpoint(tasksService *tasks.Service) http.HandlerFunc

HandleUpdateTaskEndpoint is the http endpoint handler for task update.

func HandleUserLoginEndpoint

func HandleUserLoginEndpoint(usersService *users.Service) http.HandlerFunc

HandleUserLoginEndpoint is the http endpoint handler for user login.

Types

This section is empty.

Jump to

Keyboard shortcuts

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