models

package
v0.0.0-...-8a92eb7 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2015 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Count

func Count() (int64, error)

torrents count

func GetFilteredCount

func GetFilteredCount() (int64, error)

获取已经过滤的资源数目

func Search(name string, all bool, limit, offset int, order ...string) ([]*models.Torrent, error)

search by limit offset orderby

func SearchCount

func SearchCount(name string, all bool) (int64, error)

func View

func View(id int64) (*models.Torrent, error)

view a single torrent

Types

This section is empty.

Jump to

Keyboard shortcuts

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