http

package
v0.0.0-...-18df7f0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TodoHandler

type TodoHandler interface {
	Create(*gin.Context)
	Read(*gin.Context)
	Index(*gin.Context)
	Update(*gin.Context)
	Delete(*gin.Context)
}

func NewHandler

func NewHandler(todoService app.TodoService) TodoHandler

type UserHandler

type UserHandler interface {
	CreateUser(http.ResponseWriter, *http.Request)
	ReadUser(http.ResponseWriter, *http.Request)
	ReadAllUsers(http.ResponseWriter, *http.Request)
	UpdateUser(http.ResponseWriter, *http.Request)
	DeleteUser(http.ResponseWriter, *http.Request)
}

func NewUserHandler

func NewUserHandler(userService app.UserService) UserHandler

Jump to

Keyboard shortcuts

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