Versions in this module Expand all Collapse all v5 v5.12.0 Dec 29, 2025 Changes in this version + type Impl struct + func New() *Impl + func (t *Impl) GetTiming() (time.Duration, time.Duration) + func (t *Impl) NewStage() + func (t *Impl) Start() + func (t *Impl) Stop() + type MockTimer struct + func NewMockTimer(t interface{ ... }) *MockTimer + func (_m *MockTimer) EXPECT() *MockTimer_Expecter + func (_mock *MockTimer) GetTiming() (time.Duration, time.Duration) + func (_mock *MockTimer) NewStage() + func (_mock *MockTimer) Start() + func (_mock *MockTimer) Stop() + type MockTimer_Expecter struct + func (_e *MockTimer_Expecter) GetTiming() *MockTimer_GetTiming_Call + func (_e *MockTimer_Expecter) NewStage() *MockTimer_NewStage_Call + func (_e *MockTimer_Expecter) Start() *MockTimer_Start_Call + func (_e *MockTimer_Expecter) Stop() *MockTimer_Stop_Call + type MockTimer_GetTiming_Call struct + func (_c *MockTimer_GetTiming_Call) Return(total time.Duration, stage time.Duration) *MockTimer_GetTiming_Call + func (_c *MockTimer_GetTiming_Call) Run(run func()) *MockTimer_GetTiming_Call + func (_c *MockTimer_GetTiming_Call) RunAndReturn(run func() (time.Duration, time.Duration)) *MockTimer_GetTiming_Call + type MockTimer_NewStage_Call struct + func (_c *MockTimer_NewStage_Call) Return() *MockTimer_NewStage_Call + func (_c *MockTimer_NewStage_Call) Run(run func()) *MockTimer_NewStage_Call + func (_c *MockTimer_NewStage_Call) RunAndReturn(run func()) *MockTimer_NewStage_Call + type MockTimer_Start_Call struct + func (_c *MockTimer_Start_Call) Return() *MockTimer_Start_Call + func (_c *MockTimer_Start_Call) Run(run func()) *MockTimer_Start_Call + func (_c *MockTimer_Start_Call) RunAndReturn(run func()) *MockTimer_Start_Call + type MockTimer_Stop_Call struct + func (_c *MockTimer_Stop_Call) Return() *MockTimer_Stop_Call + func (_c *MockTimer_Stop_Call) Run(run func()) *MockTimer_Stop_Call + func (_c *MockTimer_Stop_Call) RunAndReturn(run func()) *MockTimer_Stop_Call + type Timer interface + GetTiming func() (total, stage time.Duration) + NewStage func() + Start func() + Stop func()