system

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: BSD-3-Clause Imports: 9 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDesktopUIUserAgent added in v0.6.0

func GetDesktopUIUserAgent() string

GetDesktopUIUserAgent returns the Desktop ui user agent

func NetbirdVersion added in v0.6.0

func NetbirdVersion() string

NetbirdVersion returns the Netbird version

Types

type Info

type Info struct {
	GoOS               string
	Kernel             string
	Core               string
	Platform           string
	OS                 string
	OSVersion          string
	Hostname           string
	CPUs               int
	WiretrusteeVersion 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