system

package
v0.0.0-...-5f71cfe Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDesktopUIUserAgent

func GetDesktopUIUserAgent() string

GetDesktopUIUserAgent returns the Desktop ui user agent

func IsecwayVersion

func IsecwayVersion() string

IsecwayVersion returns the Isecway version

Types

type Info

type Info struct {
	GoOS             string
	Kernel           string
	Core             string
	Platform         string
	OS               string
	OSVersion        string
	Hostname         string
	CPUs             int
	OldsecwayVersion string
	UIVersion        string
}

Info is an object that contains machine information Most of the code is taken from https://github.com/matishsiao/goInfo

func GetInfo

func GetInfo(ctx context.Context) *Info

GetInfo retrieves and parses the system information

Jump to

Keyboard shortcuts

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