timeshim

package
v0.0.0-...-21cfbab Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0, 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 Duration

type Duration = time.Duration

type Interface

type Interface interface {
	KTimeNanos() int64
	// contains filtered or unexported methods
}

Time is our shim interface to the time package.

func RealTime

func RealTime() Interface

type Time

type Time = time.Time

type Timer

type Timer interface {
	Stop() bool
	Reset(clean Duration)
	Chan() <-chan Time
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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