//
pkg.gl
Category
github.com/Jing-ze/oauth2-proxy
pkg
clock
package
0.0.0-20241226230300
Repository:
https://github.com/jing-ze/oauth2-proxy.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
2
Files
121 SLOC
#
Functions
Add
Add moves the mocked global clock forward the given duration.
Reset
Reset sets the global clock to a pure time implementation.
Set
Set the global clock to a clockapi.Mock with the given time.Time.
#
Structs
Clock
Clock is a non-package level wrapper around time that supports stubbing.