pub type Core = Core;Aliased Type§
pub struct Core {
pub announce_policy: AnnouncePolicy,
pub database: Database,
pub inactive_peer_cleanup_interval: u64,
pub listed: bool,
pub net: Network,
pub private: bool,
pub private_mode: Option<PrivateMode>,
pub tracker_policy: TrackerPolicy,
pub tracker_usage_statistics: bool,
}Fields§
§announce_policy: AnnouncePolicyAnnounce policy configuration.
database: DatabaseDatabase configuration.
inactive_peer_cleanup_interval: u64Interval in seconds that the cleanup job will run to remove inactive peers from the torrent peer list.
listed: boolWhen true only approved torrents can be announced in the tracker.
net: NetworkNetwork configuration.
private: boolWhen true clients require a key to connect and use the tracker.
private_mode: Option<PrivateMode>Configuration specific when the tracker is running in private mode.
tracker_policy: TrackerPolicyTracker policy configuration.
tracker_usage_statistics: boolWeather the tracker should collect statistics about tracker usage.
If enabled, the tracker will collect statistics like the number of
connections handled, the number of announce requests handled, etc.
Refer to the Tracker for more
information about the collected metrics.