stress_framework

package
v0.0.0-...-5070c89 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpStressTest

func HttpStressTest(qps int, clientN int, duration time.Duration, logger Logger, action StressAction)

func SetPrintInterval

func SetPrintInterval(interval time.Duration)

Types

type Logger

type Logger interface {
	Printf(format string, v ...interface{})
}

type StressAction

type StressAction func(httpClient *http.Client)

Jump to

Keyboard shortcuts

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