Documentation
¶
Overview ¶
Copyright © 2021 Miga Labs
Copyright © 2021 Miga Labs
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IpCacheSize = 5000
)
Functions ¶
This section is empty.
Types ¶
type Eth2Crawler ¶
type Eth2Crawler struct {
Host *hosts.BasicLibp2pHost
Node *enode.LocalNode
DB *db.PeerStore
Disc *discovery.Discovery
Peering peering.PeeringService
Gs *gossipsub.GossipSub
Info *info.Eth2InfoData
IpLocalizer apis.PeerLocalizer
ExporterService *exporters.ExporterService
}
crawler status containing the main basemodule and info that the app will ConnectedF
func NewEth2Crawler ¶
func NewEth2Crawler(ctx *cli.Context, infObj info.Eth2InfoData) (*Eth2Crawler, error)
type IpfsCrawler ¶
type IpfsCrawler struct {
Host *hosts.BasicLibp2pHost
DB *db.PeerStore
Disc *discovery.Discovery
Peering peering.PeeringService
Gs *gossipsub.GossipSub
Info *info.IpfsInfoData
IpLocalizer apis.PeerLocalizer
ExporterService *exporters.ExporterService
}
crawler status containing the main basemodule and info that the app will ConnectedF
func NewIpfsCrawler ¶
func NewIpfsCrawler(ctx *cli.Context, infObj info.IpfsInfoData) (*IpfsCrawler, error)
Click to show internal directories.
Click to hide internal directories.