
The highest tagged major version is
v2.
package
Version:
v1.23.2
Opens a new window with list of versions in this module.
Published: Jan 26, 2026
License: BSD-3-Clause
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
¶
type CPUUser interface {
CPUUsage() float64
}
type ProcessTracker interface {
TrackProcess(pid int)
UntrackProcess(pid int)
}
var NoUsage User = noUsage{}
NoUsage implements Usage() by always returning 0.
Source Files
¶
Directories
¶
Package resourcemock is a generated GoMock package.
|
Package resourcemock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.