systeminfo

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptySystemInfoGetter

type EmptySystemInfoGetter struct{}

EmptySystemInfoGetter

func (EmptySystemInfoGetter) Get

func (esig EmptySystemInfoGetter) Get() (si SystemInfo, err error)

type SystemInfo

type SystemInfo struct {
	SysLocale string
	OSName    string
	OSVersion string
}

func (SystemInfo) String

func (si SystemInfo) String() string

type SystemInfoGetter

type SystemInfoGetter interface {
	Get() (SystemInfo, error)
}

func New

func New() SystemInfoGetter

type WindowsSystemInfoGetter

type WindowsSystemInfoGetter struct{}

func (WindowsSystemInfoGetter) Get

func (wsig WindowsSystemInfoGetter) Get() (si SystemInfo, err error)

Jump to

Keyboard shortcuts

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