worker

package
v0.0.0-...-3922e60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2022 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context) error

Run attempts to apply load to a network specified in .simulator/config.yml and periodically prints metrics about the traffic it generates.

Types

type Config

type Config struct {
	Endpoints   []string
	Concurrency int
	BaseFee     uint64
	PriorityFee uint64
}

func LoadConfig

func LoadConfig() (*Config, error)

LoadConfig parses and validates the [config] in [.simulator]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL