Versions in this module Expand all Collapse all v1 v1.0.1 Jul 22, 2017 Changes in this version + func AuthorizedQuery(c *gin.Context, pagenum int, authorized bool) (structs.TorrentParam, []models.Torrent, int, error) + func ByQuery(c *gin.Context, pagenum int, countAll bool, withUser bool, deleted bool, ...) (structs.TorrentParam, []models.Torrent, int, error) + func ByQueryDeleted(c *gin.Context, pagenum int) (search structs.TorrentParam, tor []models.Torrent, count int, err error) + func ByQueryNoCount(c *gin.Context, pagenum int) (search structs.TorrentParam, tor []models.Torrent, err error) + func ByQueryNoHidden(c *gin.Context, pagenum int) (search structs.TorrentParam, tor []models.Torrent, count int, err error) + func ByQueryNoUser(c *gin.Context, pagenum int) (search structs.TorrentParam, tor []models.Torrent, count int, err error) + func ByQueryWithUser(c *gin.Context, pagenum int) (search structs.TorrentParam, tor []models.Torrent, count int, err error) + func Configure(conf *config.SearchConfig) (err error)