systeminfo

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskStatus

type DiskStatus struct {
	All  uint64 `json:"all"`  // 总空间
	Used uint64 `json:"used"` // 可用空间
	Free uint64 `json:"free"` // 剩余空间
}

func DiskUsage

func DiskUsage(path string) (disk DiskStatus)

disk usage of path/disk

Jump to

Keyboard shortcuts

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