modules

package
v0.0.0-...-be75ee3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blank

func Blank(opts map[string]string) (rune, string)

func CPU

func CPU(opts map[string]string) (rune, string)

func Colors

func Colors(opts map[string]string) (rune, string)

func Custom

func Custom(opts map[string]string) (rune, string)

func GetOSVendor

func GetOSVendor() string

func Hostname

func Hostname(opts map[string]string) (rune, string)

func Memory

func Memory(opts map[string]string) (rune, string)

func OS

func OS(opts map[string]string) (rune, string)

func Uptime

func Uptime(opts map[string]string) (rune, string)

func User

func User(opts map[string]string) (rune, string)

Types

type OSInfo

type OSInfo struct {
	Name         string `json:"name,omitempty"`
	Vendor       string `json:"vendor,omitempty"`
	Version      string `json:"version,omitempty"`
	Release      string `json:"release,omitempty"`
	Architecture string `json:"architecture,omitempty"`
}

Jump to

Keyboard shortcuts

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