mocks

package
v0.0.0-...-684cf26 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Limiter

type Limiter struct {
	mock.Mock
}

Limiter is an autogenerated mock type for the Limiter type

func (*Limiter) GetLimit

func (_m *Limiter) GetLimit() int

GetLimit provides a mock function with given fields:

func (*Limiter) MeasureSample

func (_m *Limiter) MeasureSample(startTime time.Time, queuedDuration time.Duration, inflight int, result limit.Result) int

MeasureSample provides a mock function with given fields: startTime, queuedDuration, inflight, result

Jump to

Keyboard shortcuts

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