stress

package
v3.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(args *TestArgs)

Start starts the stress test

Types

type Status

type Status struct {
	Successes uint64
	Errors    uint64
	LastError error
	StartTime time.Time
}

Status represents the status of the test

type TestArgs

type TestArgs struct {
	SampleConfig *config.SampleConfig
	StatusChan   *chan Status
	Duration     time.Duration
	Workers      int
}

TestArgs represents the arguments for the test

Jump to

Keyboard shortcuts

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