Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventTime ¶
type EventTime struct {
// contains filtered or unexported fields
}
EventTime is the controlled fake time.
func NewEventTimeSource ¶
func NewEventTimeSource() *EventTime
NewEventTimeSource returns a fake controlled time source.
type SystemTime ¶
type SystemTime struct{}
SystemTime is the real wall-clock time.
func NewSystemTimeSource ¶
func NewSystemTimeSource() *SystemTime
NewSystemTimeSource returns a real wall clock time source.
Click to show internal directories.
Click to hide internal directories.