mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Statter

type Statter struct {
	mock.Mock
}

Statter is an autogenerated mock type for the Statter type

func (*Statter) Close

func (_m *Statter) Close() error

Close provides a mock function with given fields:

func (*Statter) Dec

func (_m *Statter) Dec(_a0 string, _a1 int64, _a2 float32) error

Dec provides a mock function with given fields: _a0, _a1, _a2

func (*Statter) Gauge

func (_m *Statter) Gauge(_a0 string, _a1 int64, _a2 float32) error

Gauge provides a mock function with given fields: _a0, _a1, _a2

func (*Statter) GaugeDelta

func (_m *Statter) GaugeDelta(_a0 string, _a1 int64, _a2 float32) error

GaugeDelta provides a mock function with given fields: _a0, _a1, _a2

func (*Statter) Inc

func (_m *Statter) Inc(_a0 string, _a1 int64, _a2 float32) error

Inc provides a mock function with given fields: _a0, _a1, _a2

func (*Statter) NewSubStatter

func (_m *Statter) NewSubStatter(_a0 string) statsd.SubStatter

NewSubStatter provides a mock function with given fields: _a0

func (*Statter) Raw

func (_m *Statter) Raw(_a0 string, _a1 string, _a2 float32) error

Raw provides a mock function with given fields: _a0, _a1, _a2

func (*Statter) Set

func (_m *Statter) Set(_a0 string, _a1 string, _a2 float32) error

Set provides a mock function with given fields: _a0, _a1, _a2

func (*Statter) SetInt

func (_m *Statter) SetInt(_a0 string, _a1 int64, _a2 float32) error

SetInt provides a mock function with given fields: _a0, _a1, _a2

func (*Statter) SetPrefix

func (_m *Statter) SetPrefix(_a0 string)

SetPrefix provides a mock function with given fields: _a0

func (*Statter) Timing

func (_m *Statter) Timing(_a0 string, _a1 int64, _a2 float32) error

Timing provides a mock function with given fields: _a0, _a1, _a2

func (*Statter) TimingDuration

func (_m *Statter) TimingDuration(_a0 string, _a1 time.Duration, _a2 float32) error

TimingDuration provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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