reportService

package
v0.0.0-...-5607d3c Latest Latest
Warning

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

Go to latest
Published: May 13, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTorrentReport

func CreateTorrentReport(torrentReport model.TorrentReport) error

Return torrentReport in case we did modified it (ie: CreatedAt field)

func DeleteTorrentReport

func DeleteTorrentReport(id uint) (error, int)

func GetAllTorrentReports

func GetAllTorrentReports(limit int, offset int) ([]model.TorrentReport, int, error)

func GetTorrentReportsOrderBy

func GetTorrentReportsOrderBy(parameters *serviceBase.WhereParams, orderBy string, limit int, offset int) ([]model.TorrentReport, int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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