Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSystemClock ¶
func NewSystemClock() *systemClock
Types ¶
type AdjustableClock ¶
type AdjustableClock struct {
// contains filtered or unexported fields
}
func NewAdjustableClock ¶
func NewAdjustableClock() *AdjustableClock
func (*AdjustableClock) AddSeconds ¶
func (c *AdjustableClock) AddSeconds(delta int)
func (*AdjustableClock) CurrentTime ¶
func (c *AdjustableClock) CurrentTime() time.Time
Click to show internal directories.
Click to hide internal directories.