diff --git a/dht.go b/dht.go index 809b761..aa531aa 100644 --- a/dht.go +++ b/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 ( diff --git a/doc.go b/doc.go new file mode 100644 index 0000000..acbb181 --- /dev/null +++ b/doc.go @@ -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 diff --git a/query.go b/query.go index 01ca880..8794dea 100644 --- a/query.go +++ b/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 (