Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookResource ¶
type BookResource struct { DB *gorm.DB FileStorage utils.MinioFileStorage }
func (*BookResource) Create ¶
func (br *BookResource) Create(c *gin.Context)
func (*BookResource) DeleteOne ¶
func (br *BookResource) DeleteOne(c *gin.Context)
func (*BookResource) Download ¶
func (br *BookResource) Download(c *gin.Context)
func (*BookResource) DownloadLink ¶
func (br *BookResource) DownloadLink(c *gin.Context)
func (*BookResource) GetList ¶
func (br *BookResource) GetList(c *gin.Context)
func (*BookResource) GetOne ¶
func (br *BookResource) GetOne(c *gin.Context)
type BookStatusResource ¶
func (BookStatusResource) GetAll ¶
func (bsr BookStatusResource) GetAll(c *gin.Context)
type CreateBookInput ¶
type GetBookLinkQuery ¶
type GetBookLinkQuery struct {
Expiry int `form:"expiry" biding:"numeric,max=300"`
}
type GetBookQuery ¶
type PaginatedResponse ¶
type PaginatedResponse struct { Data interface{} `json:"data"` Pagination pagination `json:"pagination"` }
Click to show internal directories.
Click to hide internal directories.