Documentation ¶
Index ¶
- type Backend
- func (_m *Backend) Count(ctx context.Context, name string, value int64, tags []string, rate float64) error
- func (_m *Backend) Distribution(ctx context.Context, name string, value float64, tags []string, rate float64) error
- func (_m *Backend) Gauge(ctx context.Context, name string, value float64, tags []string, rate float64) error
- func (_m *Backend) Histogram(ctx context.Context, name string, value float64, tags []string, rate float64) error
- func (_m *Backend) Set(ctx context.Context, name string, value string, tags []string, rate float64) error
- func (_m *Backend) Timing(ctx context.Context, name string, value time.Duration, tags []string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
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
Click to show internal directories.
Click to hide internal directories.