Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BenchmarkCmd = &cobra.Command{
Use: "benchmark",
Short: "Benchmark various things",
Long: `Benchmark various things`,
}
Root Command for Benchmark
Functions ¶
func GetLatestBlockBenchmark ¶
func GetLatestBlockBenchmark(endpoints []RPCEndpoint)
func RunEthRPC ¶
func RunEthRPC(args EthRPCArgs) error
func SubscribeToEvents ¶
func SubscribeToEvents(endpoints []RPCEndpoint)
Types ¶
type BenchmarkArgs ¶
type EthRPCArgs ¶
type EthRPCArgs struct { *BenchmarkArgs URLs []string Repeat uint16 }
type LatestBlockResult ¶
type LatestBlockResult struct { Endpoint RPCEndpoint Block string }
type RPCEndpoint ¶
Click to show internal directories.
Click to hide internal directories.