fetch

package
v0.0.0-...-a907c20 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPU

func CPU() (string, error)

func Hostname

func Hostname() (string, error)

func Kernel

func Kernel() (string, error)

func Os

func Os() (string, error)

func Uptime

func Uptime() (string, error)

func User

func User() (string, error)

Types

type MemoryStats

type MemoryStats struct {
	Total uint64
	Used  uint64
	Free  uint64
}

func Memory

func Memory() (*MemoryStats, error)

type PkgInfo

type PkgInfo struct {
	Installed        int
	AvailableUpdates int
}

func Pkgs

func Pkgs() (*PkgInfo, error)

Jump to

Keyboard shortcuts

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