package
0.0.0-20211231051546-7613acdd8681
Repository: https://github.com/tigerbot/hyperdht.git
Documentation: pkg.go.dev
# Functions
Announce will use the provided DHT to announce on the network using the provided key.
Bootstrap will periodically call the Bootstrap function on the DHT.
InterruptCtx returns a context that will be canceled when the program receives an interrupt or kill signal.
ParseAddrs converts the slices of strings expected as input into slices of network addresses.
Query will use the provided DHT to lookup and print the addresses for other nodes that have announced using the provided key.
# Variables
Verbose determines whether to print out periodic messages about bootstrapping and announcing.