windows

package
v0.0.0-...-e162450 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BiosEx

type BiosEx struct {
	Manufacturer string    `json:"vendor"`
	ReleaseDate  time.Time `json:"date"`
	Version      string    `json:"version"`
}

func BIOS

func BIOS() (elements []BiosEx, err error)

type BoardDevice

type BoardDevice struct {
	Manufacturer string `json:"vendor"`
	Product      string `json:"device"`
}

func Board

func Board() (elements []BoardDevice, err error)

type DiskDrive

type DiskDrive struct {
	Model        string `json:"model"`
	Name         string `json:"name"`
	SerialNumber string `json:"serial"`
	Size         uint64 `json:"size"`
}

func Disk

func Disk() (elements []DiskDrive, err error)

type MemoryDevice

type MemoryDevice struct {
	TotalVisibleMemorySize uint64 `json:"size"`
}

func Memory

func Memory() *MemoryDevice

type NetworkDevice

type NetworkDevice struct {
	Name string `json:"name"`
	MAC  string `json:"mac"`
}

func Network

func Network() (elements []NetworkDevice, err error)

type OperatingSystem

type OperatingSystem struct {
	Caption                string    `json:"os"`
	CSName                 string    `json:"device"`
	InstallDate            time.Time `json:"installed"`
	LastBootUpTime         time.Time `json:"last"`
	Name                   string    `json:"name"`
	OSArchitecture         string    `json:"arch"`
	SerialNumber           string    `json:"sn"`
	TotalVisibleMemorySize uint64    `json:"memory"`
	Version                string    `json:"version"`
	Manufacturer           string    `json:"vendor"`
}

func System

func System() (elements []OperatingSystem, err error)

type ProcessorDevice

type ProcessorDevice struct {
	Name          string `json:"name"`
	NumberOfCores uint32 `json:"cores"`
	ThreadCount   uint32 `json:"threads"`
	ProcessorId   string `json:"id"`
	Manufacturer  string `json:"vendor"`
}

func CPU

func CPU() (elements []ProcessorDevice, err error)

Jump to

Keyboard shortcuts

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