types

package
v0.0.0-...-5b6649e Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Source     RequestSource `json:source`
	RatePerSec int           `json:ratePerSec`
	Duration   time.Duration `json:duration`
}

type RequestSource

type RequestSource interface {
	Next() (*http.Request, error)
	Read(resp *http.Response) (int64, error)
}

type WorkerId

type WorkerId struct {
	Id      string `json:id`
	Workers int    `json:workers`
}

Jump to

Keyboard shortcuts

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