cmdImpl

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   string = "latest"
	CommitSHA string = "development build"
	BuiltTime string = "Mon Dec 21 19:00:00 2020"
)

Functions

func GetVersionInfo

func GetVersionInfo() string

GetVersionInfo return version information TODO add commit hash, Built info

func Process

func Process(configPath string, num int, burst, signerNumber, parallel int, rate float64, enablePrometheus bool, prometheusAddr string, logger *log.Logger, processmod int) error

Types

type CmdConfig

type CmdConfig struct {
	FinishCh chan struct{}
	ErrorCh  chan error

	Generator       *trafficGenerator.TrafficGenerator
	Observerfactory *observer.ObserverFactory
	Closer          io.Closer
	// contains filtered or unexported fields
}

func CreateCmd

func CreateCmd(configPath string, num int, burst, signerNumber, parallel int, rate float64, logger *log.Logger) (*CmdConfig, error)

Jump to

Keyboard shortcuts

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