package
0.0.0-20200711015822-b6401396e344
Repository: https://github.com/bountylabs/go-metrics.git
Documentation: pkg.go.dev

# Functions

New returns an instance of a real-time clock.
NewMock returns an instance of a mock clock.

# Structs

Calls keeps track of the count of calls for each of the methods on the Clock interface.
Mock represents a mock clock that only moves forward programmically.
Ticker holds a channel that receives "ticks" at regular intervals.
Timer represents a single event.

# Interfaces

Clock represents an interface to the functions in the standard library time package.