Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clock ¶
type Clock interface { bclock.Clock Mono() MonotonicTime }
Clock defines an interface that combines github.com/benbjohnson/clock.Clock and a Mono methods that can return a monotonic time duration
type MonotonicTime ¶
MonotonicTime alias to time.Duration
func (MonotonicTime) Sub ¶
func (m MonotonicTime) Sub(other MonotonicTime) time.Duration
Sub returns time difference between two MonotonicTime
Click to show internal directories.
Click to hide internal directories.