Documentation
¶
Overview ¶
Copyright © 2021 Miga Labs
Copyright © 2021 Miga Labs
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Eth2CrawlerCommand = &cli.Command{ Name: "eth2", Usage: "crawl the eth2 network with the given configuration in the conf-file", Action: LaunchEth2Crawler, Flags: []cli.Flag{ &cli.StringFlag{ Name: "config-file", Usage: "path to the <config.json> file used to configure the crawler", EnvVars: []string{"ARMIARMA_CONFIG_FILE_NAME"}, DefaultText: info.DefaultEth2ConfigFile, Value: info.DefaultEth2ConfigFile, }}, }
CrawlCommand contains the crawl sub-command configuration.
View Source
var IpfsCrawlerCommand = &cli.Command{ Name: "ipfs", Usage: "crawl the ipfs network with the given configuration in the conf-file", Action: LaunchIpfsCrawler, Flags: []cli.Flag{ &cli.StringFlag{ Name: "config-file", Usage: "path to the <config.json> file used to configure the crawler", EnvVars: []string{"ARMIARMA_CONFIG_FILE_NAME"}, DefaultText: info.DefaultIpfsConfigFile, Value: info.DefaultIpfsConfigFile, }, }, }
CrawlCommand contains the crawl sub-command configuration.
Functions ¶
func LaunchEth2Crawler ¶ added in v1.1.0
CrawlAction is the function that is called when running `eth2`.
func LaunchIpfsCrawler ¶ added in v1.1.0
CrawlAction is the function that is called when running `ipfs`.
Types ¶
This section is empty.