handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2023 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 Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(service *service.Service) *Handler

func (*Handler) CreateBook

func (h *Handler) CreateBook(c *gin.Context)

func (*Handler) DeleteBook

func (h *Handler) DeleteBook(c *gin.Context)

func (*Handler) GetBook

func (h *Handler) GetBook(c *gin.Context)

func (*Handler) GetBooks

func (h *Handler) GetBooks(c *gin.Context)

func (*Handler) GetUserId

func (h *Handler) GetUserId(c *gin.Context)

func (*Handler) InitRoutes

func (h *Handler) InitRoutes() *gin.Engine

func (*Handler) SingIn

func (h *Handler) SingIn(c *gin.Context)

func (*Handler) SingUp

func (h *Handler) SingUp(c *gin.Context)

func (*Handler) UpdateBook

func (h *Handler) UpdateBook(c *gin.Context)

Jump to

Keyboard shortcuts

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