Versions in this module Expand all Collapse all v1 v1.0.1 Jul 22, 2017 Changes in this version + func ExtractBasicValue(c *gin.Context, r *torrentValidator.TorrentRequest) error + func ExtractEditInfo(c *gin.Context, r *torrentValidator.TorrentRequest) error + func ExtractInfo(c *gin.Context, r *torrentValidator.TorrentRequest) error + func NewTorrentRequest(params ...string) *torrentValidator.TorrentRequest + func UpdateTorrent(r *torrentValidator.UpdateRequest, t *models.Torrent, currentUser *models.User) *models.Torrent + func UpdateUnscopeTorrent(r *torrentValidator.UpdateRequest, t *models.Torrent, currentUser *models.User) *models.Torrent + type APIResultJSON struct + QueryRecordCount int + Torrents []models.TorrentJSON + TotalRecordCount int + type TorrentsRequest struct + MaxPerPage int + Page int + Query torrentsQuery + func (r *TorrentsRequest) ToParams() structs.WhereParams