Documentation ¶
Index ¶
- func Create(desc string, torrent *models.Torrent, user *models.User) (*models.TorrentReport, error)
- func Delete(id uint) (*models.TorrentReport, int, error)
- func DeleteDefinitely(id uint) (*models.TorrentReport, int, error)
- func FindOrderBy(parameters *structs.WhereParams, orderBy string, limit int, offset int) ([]models.TorrentReport, int, error)
- func GetAll(limit int, offset int) ([]models.TorrentReport, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(id uint) (*models.TorrentReport, int, error)
Delete : Delete a torrent report by id
func DeleteDefinitely ¶
func DeleteDefinitely(id uint) (*models.TorrentReport, int, error)
DeleteDefinitely : Delete definitely a torrent report by id
func FindOrderBy ¶
func FindOrderBy(parameters *structs.WhereParams, orderBy string, limit int, offset int) ([]models.TorrentReport, int, error)
GetOrderBy : Get torrents reports based on search parameters with order
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.