Versions in this module Expand all Collapse all v0 v0.1.1 Nov 23, 2024 Changes in this version + const FilterActive + const FilterAll + const FilterCompleted + const FilterDownloading + const FilterInactive + const FilterPaused + const FilterResumed + const PriorityDoNotDownload + const PriorityHigh + const PriorityMaximum + const PriorityNormal + const StatusConnected + const StatusDisconnected + const StatusFirewalled + type AddTorrentsOptions struct + Category string + Cookie string + DlLimit int + FirstLastPiecePrio bool + Paused string + Rename string + RootFolder string + Savepath string + SequentialDownload bool + SkipChecking bool + UpLimit int + UseAutoTMM bool + type BuildInfo struct + Bitness string + Boost string + LibTorrent string + OpenSSL string + QT string + type Category struct + Name string + SavePath string + type ConnectionStatus string + type GetLogOptions struct + Critical bool + Info bool + LastKnownID int + Normal bool + Warning bool + type GetTorrentListOptions struct + Category *string + Filter TorrentListFilter + Hashes string + Limit int + Offset int + Reverse bool + Sort string + type LogEntry struct + ID int + Message string + Timestamp time.Time + Type LogType + func (l *LogEntry) UnmarshalJSON(data []byte) error + type LogType int + const TypeCritical + const TypeInfo + const TypeNormal + const TypeWarning + type MaxRatioAction int + const ActionPause + const ActionRemove + type Peer struct + Client string + Connection string + Country string + CountryCode string + DLSpeed int + Downloaded int + Files string + Flags string + FlagsDescription string + IP string + Port int + Progress float64 + Relevance int + ULSpeed int + Uploaded int + type PeerLogEntry struct + Blocked bool + ID int + IP string + Reason string + Timestamp time.Time + func (l *PeerLogEntry) UnmarshalJSON(data []byte) error + type Preferences struct + AltDlLimit int + AltUpLimit int + AlternativeWebuiEnabled bool + AlternativeWebuiPath string + AnonymousMode bool + AutoDeleteMode int + AutoTmmEnabled bool + AutorunEnabled bool + AutorunProgram string + BypassAuthSubnetWhitelist string + BypassAuthSubnetWhitelistEnabled bool + BypassLocalAuth bool + CategoryChangedTmmEnabled bool + CreateSubfolderEnabled bool + Dht bool + DhtPort int + DhtSameAsBT bool + DlLimit int + DontCountSlowTorrents bool + DyndnsDomain string + DyndnsEnabled bool + DyndnsPassword string + DyndnsService int + DyndnsUsername string + EnableUtp bool + Encryption int + ExportDir string + ExportDirFin string + ForceProxy bool + IncompleteFilesExt bool + IpFilterEnabled bool + IpFilterPath string + IpFilterTrackers bool + LimitLanPeers bool + LimitTcpOverhead bool + LimitUtpRate bool + ListenPort int + Locale string + Lsd bool + MailNotificationAuthEnabled bool + MailNotificationEmail string + MailNotificationEnabled bool + MailNotificationPassword string + MailNotificationSender string + MailNotificationSmtp string + MailNotificationSslEnabled bool + MailNotificationUsername string + MaxActiveDownloads int + MaxActiveTorrents int + MaxActiveUploads int + MaxConnec int + MaxConnecPerTorrent int + MaxRatio float64 + MaxRatioAct MaxRatioAction + MaxRatioEnabled bool + MaxUploads int + MaxUploadsPerTorrent int + Pex bool + PreallocateAll bool + ProxyAuthEnabled bool + ProxyIp string + ProxyPassword string + ProxyPeerConnections bool + ProxyPort int + ProxyType int + ProxyUsername string + QueueingEnabled bool + RandomPort bool + RssAutoDownloadingEnabled bool + RssMaxArticlesPerFeed int + RssProcessingEnabled bool + RssRefreshInterval int + SavePath string + SavePathChangedTmmEnabled bool + ScanDirs map[string]interface{} + ScheduleFromHour int + ScheduleFromMin int + ScheduleToHour int + ScheduleToMin int + SchedulerDays int + SchedulerEnabled bool + SlowTorrentDlRateThreshold int + SlowTorrentInactiveTimer int + SlowTorrentUlRateThreshold int + SslCert string + SslKey string + StartPausedEnabled bool + TempPath string + TempPathEnabled bool + TorrentChangedTmmEnabled bool + UpLimit int + Upnp bool + UseHttps bool + WebUiAddress string + WebUiClickjackingProtectionEnabled bool + WebUiCsrfProtectionEnabled bool + WebUiDomainList string + WebUiPassword string + WebUiPort int + WebUiUpnp bool + WebUiUsername string + type RuleDefinition struct + AddPaused bool + AffectedFeeds []string + AssignedCategory string + Enabled bool + EpisodeFilter string + IgnoreDays int + LastMatch string + MustContain string + MustNotContain string + PreviouslyMatchedEpisodes []string + SavePath string + SmartFilter bool + UseRegex bool + type SearchPlugin struct + Enabled bool + FullName string + Name string + SupportedCategories []string + URL string + Version string + type SearchResult struct + DescriptionLink string + FileName string + FileSize int + FileUrl string + NumLeechers int + NumSeeders int + SiteUrl string + type SearchResultsPaging struct + Results []SearchResult + Status string + Total int + type SearchStatus struct + ID int + Status string + Total int + type ServerState struct + AlltimeDl int + AlltimeUl int + AverageTimeQueue int + FreeSpaceOnDisk int + GlobalRatio float64 + QueuedIoJobs int + ReadCacheHits float64 + ReadCacheOverload float64 + TotalBuffersSize int + TotalPeerConnections int + TotalQueuedSize int + TotalWastedSession int + WriteCacheOverload float64 + func (s *ServerState) UnmarshalJSON(data []byte) error + type SyncMainData struct + Categories map[string]Category + CategoriesRemoved map[string]Category + FullUpdate bool + Queueing bool + RID int + ServerState ServerState + Torrents map[string]*Torrent + TorrentsRemoved []string + type SyncPeersData struct + FullUpdate bool + Peers map[string]Peer + RID int + ShowFlags bool + type Torrent struct + AddedOn int + AmountLeft int + AutoTmm bool + Availability float64 + Category string + Completed int64 + CompletionOn int + ContentPath string + DlLimit int + Dlspeed int + DownloadPath string + Downloaded int64 + DownloadedSession int + Eta int + FLPiecePrio bool + ForceStart bool + Hash string + InfohashV1 string + InfohashV2 string + LastActivity int + MagnetUri string + MaxRatio int + MaxSeedingTime int + Name string + NumComplete int + NumIncomplete int + NumLeechs int + NumSeeds int + Priority int + Progress float64 + Ratio float64 + RatioLimit int + SavePath string + SeedingTime int + SeedingTimeLimit int + SeenComplete int + SeqDl bool + Size int + State TorrentState + SuperSeeding bool + Tags string + TimeActive int + TotalSize int64 + Tracker string + TrackersCount int + UpLimit int + Uploaded int64 + UploadedSession int64 + Upspeed int + type TorrentContent struct + Availability float64 + IsSeed bool + Name string + PieceRange []int + Priority TorrentPriority + Progress float64 + Size int + type TorrentListFilter string + type TorrentPieceState int + const PieceStateDownloaded + const PieceStateDownloading + const PieceStateNotDownloaded + type TorrentPriority int + type TorrentProperties struct + AdditionDate time.Time + Comment string + CompletionDate time.Time + CreatedBy string + CreationDate time.Time + DlLimit int + DlSpeed int + DlSpeedAvg int + Eta time.Duration + LastSeen time.Time + NbConnections int + NbConnectionsLimit int + Peers int + PeersTotal int + PieceSize int + PiecesHave int + PiecesNum int + Reannounce time.Duration + SavePath string + SeedingTime time.Duration + Seeds int + SeedsTotal int + ShareRatio float64 + TimeElapsed int + TotalDownloaded int + TotalDownloadedSession int + TotalSize int + TotalUploaded int + TotalUploadedSession int + TotalWasted int + UpLimit int + UpSpeed int + UpSpeedAvg int + func (p *TorrentProperties) UnmarshalJSON(data []byte) error + type TorrentState string + const StateAllocating + const StateCheckingDL + const StateCheckingResumeData + const StateCheckingUP + const StateDownloading + const StateError + const StateForceDL + const StateForcedUP + const StateMetaDL + const StateMissingFiles + const StateMoving + const StatePausedDL + const StatePausedUP + const StateQueuedDL + const StateQueuedUP + const StateStalledDL + const StateStalledUP + const StateStoppedDL + const StateStoppedUP + const StateUnknown + const StateUploading + type TorrentTracker struct + Message string + NumDownloaded int + NumLeeches int + NumPeers int + NumSeeds int + Status TrackerStatus + Tier int + URL string + type TrackerStatus int + const TrackerStatusDisabled + const TrackerStatusNotContacted + const TrackerStatusNotWorking + const TrackerStatusUpdating + const TrackerStatusWorking + type TransferInfo struct + ConnectionStatus ConnectionStatus + DhtNodes int + DlInfoData int + DlInfoSpeed int + DlRateLimit int + Queueing bool + RefreshInterval int + UpInfoData int + UpInfoSpeed int + UpRateLimit int + UseAltSpeedLimits bool v0.1.0 Nov 7, 2024