dht:BitTorrent DHT协议和DHT Spider

时间:2021-02-04 18:15:53
【文件属性】:
文件名称:dht:BitTorrent DHT协议和DHT Spider
文件大小:5.51MB
文件格式:ZIP
更新时间:2021-02-04 18:15:53
go spider dht bittorrent-dht-protocol GoGo 观看上的视频。 介绍 DHT在Go中实现了bittorrent DHT协议。 现在它包括: 它包含两种模式,标准模式和爬网模式。 BEP遵循标准模式,您可以将其用作标准dht服务器。 爬网模式旨在尽可能多地爬网更多元数据信息。 它不遵循标准的BEP协议。 使用模式,您可以构建另一个 。 是基于爬网模式的BT搜索引擎。 安装 go get github.com/shiyanhui/dht 例 下面是一个简单的蜘蛛。 您可以移到查看更多示例。 import ( "fmt" "github.com/shiyanhui/dht" ) func main () { down
【文件预览】:
dht-master
----bitmap_test.go(932B)
----go.mod(41B)
----util_test.go(2KB)
----dht.go(7KB)
----krpc.go(18KB)
----bitmap_xor.go(132B)
----blacklist.go(2KB)
----container.go(6KB)
----routingtable.go(14KB)
----util.go(3KB)
----doc()
--------.DS_Store(6KB)
--------screen-shot.png(695KB)
----README_CN.md(2KB)
----bencode.go(5KB)
----container_test.go(2KB)
----LICENSE(1KB)
----bitmap.go(3KB)
----README.md(2KB)
----sample()
--------getpeers()
--------spider()
----blacklist_test.go(853B)
----bitmap_xorfast.go(429B)
----.gitignore(10B)
----peerwire.go(8KB)
----bencode_test.go(3KB)

网友评论