Documentation ¶
Index ¶
- Variables
- type MockTime
- func (m *MockTime) After(t time.Duration) <-chan time.Time
- func (m *MockTime) HasTimers() bool
- func (m *MockTime) IncrementTime(t time.Duration)
- func (m *MockTime) KTimeNanos() int64
- func (m *MockTime) NewTimer(d timeshim.Duration) timeshim.Timer
- func (m *MockTime) Now() time.Time
- func (m *MockTime) SetAutoIncrement(t time.Duration)
- func (m *MockTime) Since(t time.Time) time.Duration
- func (m *MockTime) Until(t time.Time) time.Duration
Constants ¶
This section is empty.
Variables ¶
View Source
var KTimeEpoch = StartTime.Add(-StartKTime)
View Source
var StartKTime = 1000 * time.Hour
View Source
var StartTime, _ = time.Parse(time.RFC3339, "2006-01-02T15:04:05Z")
Functions ¶
This section is empty.
Types ¶
type MockTime ¶
type MockTime struct {
// contains filtered or unexported fields
}
func (*MockTime) IncrementTime ¶
func (*MockTime) KTimeNanos ¶
func (*MockTime) SetAutoIncrement ¶
Click to show internal directories.
Click to hide internal directories.