Timer that must be stopped.
| 13 | |
| 14 | // Timer that must be stopped. |
| 15 | type StoppableTimer interface { |
| 16 | Timer |
| 17 | |
| 18 | // Release resources of the timer, functionality may or may not be affected |
| 19 | // It is not called automatically, so user must call it just once |
| 20 | Stop() |
| 21 | } |
| 22 | |
| 23 | // Helper function that returns Unix time in seconds |
| 24 | func getUnixTime() uint32 { |
no outgoing calls
no test coverage detected
searching dependent graphs…