sysinfo

package
v0.0.0-...-0772c6b Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemInfo

type SystemInfo struct {
	HeaderUsername  string
	HeaderAt        string
	HeaderHostname  string
	HeaderUnderline string

	OS       string
	Kernel   string
	Uptime   string
	Packages string
	Shell    string
	Terminal string
	CPU      string
	Memory   string
	LocalIP  string
	GlobalIP string
	// contains filtered or unexported fields
}

func Collect

func Collect(conf *config.Config) (*SystemInfo, error)

func (*SystemInfo) String

func (self *SystemInfo) String() string

Jump to

Keyboard shortcuts

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