Documentation
¶
Overview ¶
Package rundht implements the interface between storrent and the DHT. The DHT implementation itself is in package dht.
Index ¶
- func Bootstrap(ctx context.Context, nodes []netip.AddrPort)
- func Handle(dhtevent <-chan dht.Event)
- func Read(filename string) (id []byte, nodes []netip.AddrPort, err error)
- func Run(ctx context.Context, id []byte, port int) (<-chan dht.Event, error)
- func Write(filename string, id []byte) error
- type BDHT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.