internal

package
v0.151.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTime

func GetTime() time.Time

func Listen

func Listen() <-chan struct{}

func RemainingDuration

func RemainingDuration(from time.Time, d time.Duration) time.Duration

func SetSpeed

func SetSpeed(s float64) func()

func SetTime

func SetTime(target time.Time, opt Option) func()

Types

type Option

type Option struct {
	Freeze   bool
	Unfreeze bool
}

Jump to

Keyboard shortcuts

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