bookHandler

package
v0.0.0-...-7e9aa71 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBookGrpcHandlerImpl

func NewBookGrpcHandlerImpl(cfg *config.Config, bookUsecase bookUsecase.BookUsecase) bookPb.BookGrpcServiceServer

Types

type BookHttpHandler

type BookHttpHandler interface {
	CreateOneBook(ctx *gin.Context)
	SearchBooks(ctx *gin.Context)
	GetOneBook(ctx *gin.Context)
	GetTags(ctx *gin.Context)
	GetBookCoverImage(ctx *gin.Context)
	ReadBook(ctx *gin.Context)
	UpdateOneBook(ctx *gin.Context)
	UpdateOneBookCover(ctx *gin.Context)
	UpdateOneBookFile(ctx *gin.Context)
}

func NewBookHttpHandlerImpl

func NewBookHttpHandlerImpl(cfg *config.Config, bookUsecase bookUsecase.BookUsecase) BookHttpHandler

Jump to

Keyboard shortcuts

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