package
0.0.0-20170614212928-640c710aaef6
Repository: https://github.com/ianleeclark/notorious.git
Documentation: pkg.go.dev
# Functions
GetTorrent retrieves a torrent by its infoHash from the generic torrent table in the database.
GetWhitelistedTorrent Retrieves a single whitelisted torrent by its infoHash.
GetWhitelistedTorrents allows us to retrieve all of the white listed torrents.
InitDB initializes database tables.
No description provided by the author
OpenConnection does as its name dictates and opens a connection to the PostgresHost listed in the config.
OpenConnectionWithConfig handles `OpenConnection` but allows injecting a config file.
ScrapeTorrent supports the Scrape convention.
UpdatePeerStats handles updating peer info like hits per ip, downloaded amount, uploaded amounts.
UpdateStats Handles updating statistics relevant to our tracker.
UpdateTorrentStats Handles updating statistics relevant to our tracker.
# Structs
No description provided by the author