package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Mar 30, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package fmemory provides functions and methods to get memory information about the current system.
type Memory interface {
TotalMemory() uint64
}
Memory abstracts out memory.TotalMemory to facilitate unit testing.
NewMemory returns a Memory instance that calls memory.TotalMemory under the hood.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.