mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 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, inflight int, result limit.Result) int

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

Jump to

Keyboard shortcuts

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