Versions in this module Expand all Collapse all v1 v1.0.1 Jul 22, 2017 Changes in this version + func CheckTrackers(trackers []string) []string + type ReassignForm struct + AssignTo uint + By string + Data string + Torrents []uint + func (f *ReassignForm) ExtractInfo(c *gin.Context) bool + type TorrentRequest struct + CaptchaID string + Category string + CategoryID int + Description string + FileList []uploadedFile + Filepath string + Filesize int64 + Hidden bool + Infohash string + Languages []string + Magnet string + Name string + Remake bool + Status int + SubCategory int + SubCategoryID int + Trackers []string + WebsiteLink string + func (r *TorrentRequest) ExtractCategory() error + func (r *TorrentRequest) ExtractLanguage() error + func (r *TorrentRequest) ValidateDescription() error + func (r *TorrentRequest) ValidateHash() error + func (r *TorrentRequest) ValidateMagnet() error + func (r *TorrentRequest) ValidateMultipartUpload(c *gin.Context, uploadFormTorrent string) (multipart.File, error) + func (r *TorrentRequest) ValidateName() error + func (r *TorrentRequest) ValidateWebsiteLink() error + type UpdateRequest struct + ID uint + Update TorrentRequest