proxy

package
v0.180.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StubTimeNow

func StubTimeNow(tb testing.TB, stub func() time.Time)

func TimeNow

func TimeNow() time.Time

TimeNow is designed to be independent of the clock, allowing it to function autonomously. Features that are intended to be controlled by the clock should operate independently of any proxies. For instance, generating a random unique value should remain unaffected by time travel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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