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 DeleteAuthorController(ctx echo.Context) error
func DeleteBookController ¶
func DeleteBookController(ctx echo.Context) error
func DeleteCategoryController ¶
func DeleteCategoryController(ctx echo.Context) error
func DeletePublisherController ¶
func DeletePublisherController(ctx echo.Context) error
func DeleteUserController ¶
func DeleteUserController(ctx echo.Context) error
func FetchAuthorController ¶
func FetchAuthorController(ctx echo.Context) error
func FetchBookController ¶
func FetchBookController(ctx echo.Context) error
func FetchCategoryController ¶
func FetchCategoryController(ctx echo.Context) error
func FetchPublisherController ¶
func FetchPublisherController(ctx echo.Context) error
func FetchTransactionController ¶
func FetchTransactionController(ctx echo.Context) error
func FetchUserController ¶
func FetchUserController(ctx echo.Context) error
func GetByIDAuthorController ¶
func GetByIDAuthorController(ctx echo.Context) error
func GetByIDBookController ¶
func GetByIDBookController(ctx echo.Context) error
func GetByIDCategoryController ¶
func GetByIDCategoryController(ctx echo.Context) error
func GetByIDPublisherController ¶
func GetByIDPublisherController(ctx echo.Context) error
func GetByIDTransactionController ¶
func GetByIDTransactionController(ctx echo.Context) error
func GetByIDUserController ¶
func GetByIDUserController(ctx echo.Context) error
func LoginUserController ¶
func LoginUserController(ctx echo.Context) error
func SortByColumnBookController ¶
func SortByColumnBookController(ctx echo.Context) error
func StoreAuthorController ¶
func StoreAuthorController(ctx echo.Context) error
func StoreBookController ¶
func StoreBookController(ctx echo.Context) error
func StoreCategoryController ¶
func StoreCategoryController(ctx echo.Context) error
func StorePublisherController ¶
func StorePublisherController(ctx echo.Context) error
func StoreTransactionController ¶
func StoreTransactionController(ctx echo.Context) error
func StoreUserController ¶
func StoreUserController(ctx echo.Context) error
func UpdateAuthorController ¶
func UpdateAuthorController(ctx echo.Context) error
func UpdateBookController ¶
func UpdateBookController(ctx echo.Context) error
func UpdateCategoryController ¶
func UpdateCategoryController(ctx echo.Context) error
func UpdatePublisherController ¶
func UpdatePublisherController(ctx echo.Context) error
func UpdateTransactionController ¶
func UpdateTransactionController(ctx echo.Context) error
func UpdateTransactionDetailController ¶
func UpdateTransactionDetailController(ctx echo.Context) error
func UpdateUserController ¶
func UpdateUserController(ctx echo.Context) error
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.