sustain

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventFactory

type EventFactory func() *ensign.Event

func MakeEventFactory

func MakeEventFactory(size int) EventFactory

type Sustain

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

Sustain runs a benchmark that continuously sends events at the server until stopped.

func New

func New(opts *options.Options) *Sustain

func (*Sustain) Close

func (b *Sustain) Close()

func (*Sustain) Prepare

func (b *Sustain) Prepare(ctx context.Context) (err error)

func (*Sustain) Run

func (b *Sustain) Run(ctx context.Context) (err error)

Note: this is prototype trash-pumpkin code.

Jump to

Keyboard shortcuts

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