mirror of
https://github.com/fluencelabs/go-libp2p-kad-dht
synced 2025-04-25 06:42:13 +00:00
Remove outdated package documentation
Both, dht.go and dht_bootstrap.go duplicate the package documentation. The whole block had been moved to doc.go Also query.go provides documentation for query package but now it belongs to dht package, so it's been removed.
This commit is contained in:
parent
627b5f96f0
commit
70d5802fce
2
dht.go
2
dht.go
@ -1,5 +1,3 @@
|
||||
// Package dht implements a distributed hash table that satisfies the ipfs routing
|
||||
// interface. This DHT is modeled after kademlia with S/Kademlia modifications.
|
||||
package dht
|
||||
|
||||
import (
|
||||
|
3
doc.go
Normal file
3
doc.go
Normal file
@ -0,0 +1,3 @@
|
||||
// Package dht implements a distributed hash table that satisfies the ipfs routing
|
||||
// interface. This DHT is modeled after kademlia with S/Kademlia modifications.
|
||||
package dht
|
5
query.go
5
query.go
@ -1,8 +1,3 @@
|
||||
// package query implement a query manager to drive concurrent workers
|
||||
// to query the DHT. A query is setup with a target key, a queryFunc tasked
|
||||
// to communicate with a peer, and a set of initial peers. As the query
|
||||
// progress, queryFunc can return closer peers that will be used to navigate
|
||||
// closer to the target key in the DHT until an answer is reached.
|
||||
package dht
|
||||
|
||||
import (
|
||||
|
Loading…
x
Reference in New Issue
Block a user