package
Version:
v0.1.6
Opens a new window with list of versions in this module.
Published: Apr 19, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package peerscache persists DHT neighbor UDP dial strings for cold bootstrap.
Load reads path; missing file returns nil, nil.
Save writes peers (capped) as JSON.
type File struct {
Peers []string `json:"peers"`
}
File is the on-disk JSON shape.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.