Help us shape the future of Go! Take the 2026 Go Developer Survey

sysutil

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resources

type Resources struct {
	Cores    int `json:"cores"`
	Routines int `json:"routines"`
	Memory   struct {
		Total    uint64 `json:"total"`
		Free     uint64 `json:"free"`
		Used     uint64 `json:"used"`
		Reserved uint64 `json:"reserved"`
		Info     string `json:"info"`
	} `json:"memory"`
}

Resources represents runtime resource information.

func (*Resources) Update

func (r *Resources) Update()

Update runtime resource information.

Jump to

Keyboard shortcuts

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