package
Version:
v0.0.16-uptimeapi.3
Opens a new window with list of versions in this module.
Published: Sep 11, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package timer used for timing events
Used by httphandler to time how long calls to urls (like the api)
take to process
Ts is for timers in test / benchmarks
Duration works out the diff between the stop and start time
and returns the seconds gap as a float
Seconds calls Duration and converts that to a string
Stop sets the value of End to the current time
Source Files
¶
Click to show internal directories.
Click to hide internal directories.