loadgenerator

package
v0.0.0-...-61d1131 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K6Generator

type K6Generator struct {
	// contains filtered or unexported fields
}

func NewK6Generator

func NewK6Generator(addr string) (*K6Generator, error)

func (*K6Generator) Ramp

func (k *K6Generator) Ramp(target int, durationSeconds int) error

func (*K6Generator) SetUsers

func (k *K6Generator) SetUsers(users int) error

func (*K6Generator) Start

func (k *K6Generator) Start() error

func (*K6Generator) Stop

func (k *K6Generator) Stop() error

type LoadGenerator

type LoadGenerator interface {
	Start() error
	Stop() error
	SetUsers(users int) error
	Ramp(users int) error
}

Jump to

Keyboard shortcuts

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