Documentation ¶
Index ¶
- func CrateTorrent(debug bool, verbose bool, file string, outfile string, piecesize int64, ...)
- func Crawler(db *sql.DB, debug bool, verbose bool, threads int)
- func DaemonPeers(cfgFile string, debug bool, verbose bool, projectName string)
- func GetPeersLib(db *sql.DB, debug bool, verbose bool, hash string, projectName string)
- func ScrapeTrackers(db *sql.DB, debug bool, verbose bool, projectName string)
- func SearchDHT(db *sql.DB, debug bool, verbose bool, projectName string)
- func SearchHash(db *sql.DB, debug bool, verbose bool, hash string)
- func WorkersTorrents(cfgFile string, debug bool, verbose bool, file string, projectName string)
- type FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CrateTorrent ¶
func CrateTorrent(debug bool, verbose bool, file string, outfile string, piecesize int64, tracker string, comment string)
CrateTorrent create a torrent file
func DaemonPeers ¶
DaemonPeers monitor hashes in monitor table
func GetPeersLib ¶
GetPeersLib gets peers from hash and insert into the database, (code based in https://raw.githubusercontent.com/anacrolix/dht/master/cmd/dht-announce/main.go)
func ScrapeTrackers ¶
ScrapeTrackers scrape common trackers for the hashes
func SearchHash ¶
SearchHash search a hash and insert peers in DB
Types ¶
Click to show internal directories.
Click to hide internal directories.