stress

package
v0.0.0-...-2e1cf37 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(ctx context.Context, name string, controlEndpoint, publicEndpoint string) http.Handler

Types

type StressTest

type StressTest struct {
	Name              string        `json:"name"`
	Target            string        `json:"target"`
	Method            string        `json:"method"`
	RequestsPerSecond int           `json:"requestsPerSecond"`
	Workers           int           `json:"workers"`
	Timeout           time.Duration `json:"timeout"`
	Sustain           time.Duration `json:"sustain"`
}

Jump to

Keyboard shortcuts

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