metrics

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

type Recorder struct {
	mock.Mock
}

Recorder is an autogenerated mock type for the Recorder type

func (*Recorder) ObserveHTTPRequestDuration

func (_m *Recorder) ObserveHTTPRequestDuration(id string, duration time.Duration, method string, code string)

ObserveHTTPRequestDuration provides a mock function with given fields: id, duration, method, code

func (*Recorder) ObserveHTTPResponseSize added in v0.2.0

func (_m *Recorder) ObserveHTTPResponseSize(id string, sizeBytes int64, method string, code string)

ObserveHTTPResponseSize provides a mock function with given fields: id, sizeBytes, method, code

Jump to

Keyboard shortcuts

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