周玉环 d906a41c2e first commit пре 3 дана
..
bep44 d906a41c2e first commit пре 3 дана
containers d906a41c2e first commit пре 3 дана
int160 d906a41c2e first commit пре 3 дана
k-nearest-nodes d906a41c2e first commit пре 3 дана
krpc d906a41c2e first commit пре 3 дана
peer-store d906a41c2e first commit пре 3 дана
traversal d906a41c2e first commit пре 3 дана
types d906a41c2e first commit пре 3 дана
LICENSE d906a41c2e first commit пре 3 дана
README.md d906a41c2e first commit пре 3 дана
addr.go d906a41c2e first commit пре 3 дана
announce.go d906a41c2e first commit пре 3 дана
bootstrap.go d906a41c2e first commit пре 3 дана
bucket.go d906a41c2e first commit пре 3 дана
dht.go d906a41c2e first commit пре 3 дана
dns.go d906a41c2e first commit пре 3 дана
doc.go d906a41c2e first commit пре 3 дана
errnos-not-windows.go d906a41c2e first commit пре 3 дана
errnos_windows.go d906a41c2e first commit пре 3 дана
expvar.go d906a41c2e first commit пре 3 дана
globals.go d906a41c2e first commit пре 3 дана
hash-tuple.go d906a41c2e first commit пре 3 дана
misc.go d906a41c2e first commit пре 3 дана
nearest-nodes.go d906a41c2e first commit пре 3 дана
node.go d906a41c2e first commit пре 3 дана
nodes_file.go d906a41c2e first commit пре 3 дана
security.go d906a41c2e first commit пре 3 дана
server.go d906a41c2e first commit пре 3 дана
table.go d906a41c2e first commit пре 3 дана
tokens.go d906a41c2e first commit пре 3 дана
transaction.go d906a41c2e first commit пре 3 дана

README.md

dht

Go Reference

Installation

Get the library package with go get github.com/anacrolix/dht/v2, or the provided cmds with go install github.com/anacrolix/dht/v2/cmd/...@latest.

Commands

Here I'll describe what some of the provided commands in ./cmd do.

dht-ping

Pings DHT nodes with the given network addresses.

$ go run ./cmd/dht-ping router.bittorrent.com:6881 router.utorrent.com:6881
2015/04/01 17:21:23 main.go:33: dht server on [::]:60058
32f54e697351ff4aec29cdbaabf2fbe3467cc267 (router.bittorrent.com:6881): 648.218621ms
ebff36697351ff4aec29cdbaabf2fbe3467cc267 (router.utorrent.com:6881): 873.864706ms
2/2 responses (100.000000%)