An OffsetTimer is used to fill out an OffsetDuration. Start starts the timer and calculates the offset. Stop calculates the duration.
| 317 | // An OffsetTimer is used to fill out an OffsetDuration. Start starts the timer |
| 318 | // and calculates the offset. Stop calculates the duration. |
| 319 | type OffsetTimer interface { |
| 320 | Start() |
| 321 | Stop() |
| 322 | } |
| 323 | |
| 324 | type timerFactory struct { |
| 325 | offsetFrom time.Time |
no outgoing calls
no test coverage detected