Documentation
¶
Overview ¶
Package clock provides an injectable time source for paper-board services.
Real returns wall-clock time in UTC. Fake is settable for tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
Fake is a controllable clock for tests. Safe for concurrent use.
Click to show internal directories.
Click to hide internal directories.