mocks

package
v0.0.0-...-5720ada Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	mock.Mock
}

Backend is an autogenerated mock type for the Backend type

func (*Backend) Count

func (_m *Backend) Count(ctx context.Context, name string, value int64, tags []string, rate float64) error

Count provides a mock function with given fields: ctx, name, value, tags, rate

func (*Backend) Distribution

func (_m *Backend) Distribution(ctx context.Context, name string, value float64, tags []string, rate float64) error

Distribution provides a mock function with given fields: ctx, name, value, tags, rate

func (*Backend) Gauge

func (_m *Backend) Gauge(ctx context.Context, name string, value float64, tags []string, rate float64) error

Gauge provides a mock function with given fields: ctx, name, value, tags, rate

func (*Backend) Histogram

func (_m *Backend) Histogram(ctx context.Context, name string, value float64, tags []string, rate float64) error

Histogram provides a mock function with given fields: ctx, name, value, tags, rate

func (*Backend) Set

func (_m *Backend) Set(ctx context.Context, name string, value string, tags []string, rate float64) error

Set provides a mock function with given fields: ctx, name, value, tags, rate

func (*Backend) Timing

func (_m *Backend) Timing(ctx context.Context, name string, value time.Duration, tags []string, rate float64) error

Timing provides a mock function with given fields: ctx, name, value, tags, rate

Jump to

Keyboard shortcuts

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