Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Bootnodes []string DataDir string AdvertiseAddress string // Address to advertise to a peers. MinPeers int FastCrawl, SlowCrawl time.Duration }
Config for Discovery.
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery is struct that holds the protocol components, the protocol definition, the addr book data structure and more.
func (*Discovery) AdvertisedAddress ¶
AdvertisedAddress returns advertised address.
Click to show internal directories.
Click to hide internal directories.