fmemory

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package fmemory provides functions and methods to get memory information about the current system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

type Memory interface {
	TotalMemory() uint64
}

Memory abstracts out memory.TotalMemory to facilitate unit testing.

func NewMemory

func NewMemory() Memory

NewMemory returns a Memory instance that calls memory.TotalMemory under the hood.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL