Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookRepo ¶
type BookRepo struct {
// contains filtered or unexported fields
}
func NewBookRepo ¶
type DownloadRepo ¶
type DownloadRepo struct {
// contains filtered or unexported fields
}
func NewDownloadRepo ¶
func NewDownloadRepo(db *gorm.DB) *DownloadRepo
func (*DownloadRepo) FindByMagnet ¶
func (r *DownloadRepo) FindByMagnet(magnet string) *entity.Download
type ProgressRepo ¶
type ProgressRepo struct {
// contains filtered or unexported fields
}
func NewProgressRepo ¶
func NewProgressRepo(db *gorm.DB) *ProgressRepo
func (*ProgressRepo) FindByBook ¶
func (r *ProgressRepo) FindByBook(bookID uint, userID uint) *entity.Progress
Click to show internal directories.
Click to hide internal directories.