Discover Packages
github.com/mysteriumnetwork/node
session
mbtime
package
Version:
v0.0.0-...-c97221a
Opens a new window with list of versions in this module.
Published: Apr 30, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Since returns the time elapsed since t.
It is shorthand for time.Now().Sub(t).
Time represents structure for calculating elapsed duration between time interval.
It uses different syscalls depending on platform expect for Windows it uses std
library time since it already includes boottime.
New creates new suspend-aware monotonic time from given initial values.
This is mostly useful for unit tests.
Now returns current suspend-aware monotonic time.
Nano returns current duration in nanoseconds.
String returns time formatted time string.
Sub returns the duration t-u.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.