reports

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(desc string, torrent *models.Torrent, user *models.User) (*models.TorrentReport, error)

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

func GetAll

func GetAll(limit int, offset int) ([]models.TorrentReport, int, error)

GetAll : Get all torrents report

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL