Documentation
¶
Index ¶
- func ConsumeAPI(links []string)
- func ConsumeRequestBookController(bookRequest BookRequest) error
- func DeleteAuthorController(ctx echo.Context) error
- func DeleteBookController(ctx echo.Context) error
- func DeleteCategoryController(ctx echo.Context) error
- func DeletePublisherController(ctx echo.Context) error
- func DeleteUserController(ctx echo.Context) error
- func FetchAuthorController(ctx echo.Context) error
- func FetchBookController(ctx echo.Context) error
- func FetchCategoryController(ctx echo.Context) error
- func FetchPublisherController(ctx echo.Context) error
- func FetchTransactionController(ctx echo.Context) error
- func FetchUserController(ctx echo.Context) error
- func GetByIDAuthorController(ctx echo.Context) error
- func GetByIDBookController(ctx echo.Context) error
- func GetByIDCategoryController(ctx echo.Context) error
- func GetByIDPublisherController(ctx echo.Context) error
- func GetByIDTransactionController(ctx echo.Context) error
- func GetByIDUserController(ctx echo.Context) error
- func LoginUserController(ctx echo.Context) error
- func SortByColumnBookController(ctx echo.Context) error
- func StoreAuthorController(ctx echo.Context) error
- func StoreBookController(ctx echo.Context) error
- func StoreCategoryController(ctx echo.Context) error
- func StorePublisherController(ctx echo.Context) error
- func StoreTransactionController(ctx echo.Context) error
- func StoreUserController(ctx echo.Context) error
- func UpdateAuthorController(ctx echo.Context) error
- func UpdateBookController(ctx echo.Context) error
- func UpdateCategoryController(ctx echo.Context) error
- func UpdatePublisherController(ctx echo.Context) error
- func UpdateTransactionController(ctx echo.Context) error
- func UpdateTransactionDetailController(ctx echo.Context) error
- func UpdateUserController(ctx echo.Context) error
- type BookConsumeResponse
- type BookRequest
- type BookTransactionRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsumeAPI ¶
func ConsumeAPI(links []string)
func ConsumeRequestBookController ¶
func ConsumeRequestBookController(bookRequest BookRequest) error
func DeleteAuthorController ¶
func DeleteBookController ¶
func DeleteUserController ¶
func FetchAuthorController ¶
func FetchBookController ¶
func FetchCategoryController ¶
func FetchUserController ¶
func GetByIDAuthorController ¶
func GetByIDBookController ¶
func GetByIDUserController ¶
func LoginUserController ¶
func StoreAuthorController ¶
func StoreBookController ¶
func StoreCategoryController ¶
func StoreUserController ¶
func UpdateAuthorController ¶
func UpdateBookController ¶
func UpdateUserController ¶
Types ¶
type BookConsumeResponse ¶
type BookConsumeResponse struct {
Publishers []string `json:"publishers" form:"publishers"`
Category []string `json:"subjects" form:"subjects"`
ISBN []string `json:"isbn_10" form:"isbn_10"`
Authors []map[string]string `json:"authors" form:"authors"`
Title string `json:"title" form:"title"`
Price int `json:"price" form:"price"`
PublicationDate string `json:"publish_date" form:"publish_date"`
PageCount int `json:"number_of_pages" form:"number_of_pages"`
Description string `json:"description" form:"description"`
}
type BookRequest ¶
type BookRequest struct {
Publisher string `json:"publisher" form:"publisher"`
Category string `json:"category" form:"category"`
ISBN string `json:"isbn" form:"isbn"`
Title string `json:"title" form:"title"`
Price int `json:"price" form:"price"`
PublicationYear int `json:"publication_year" form:"publication_year"`
PageCount int `json:"page_count" form:"page_count"`
Description string `json:"description" form:"description"`
Authors []string `json:"authors" form:"authors"`
}
type BookTransactionRequest ¶
Click to show internal directories.
Click to hide internal directories.