fakes

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 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 DilatedClock

type DilatedClock struct {
	// contains filtered or unexported fields
}

func NewDilatedClock

func NewDilatedClock(multiplier float64) *DilatedClock

func (*DilatedClock) NewTimer

func (dc *DilatedClock) NewTimer(d time.Duration) *time.Timer

func (*DilatedClock) Now

func (dc *DilatedClock) Now() time.Time

func (*DilatedClock) Since

func (dc *DilatedClock) Since(t time.Time) time.Duration

Jump to

Keyboard shortcuts

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