system

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hostname

func Hostname() string

Hostname Get the host name reported by the kernel

func IsWindows

func IsWindows() bool

IsWindows Is windows system

func LocalIP

func LocalIP() string

LocalIP Get the first non-loopback IP address

func LocalIPs

func LocalIPs() []string

LocalIPs Get all non-loopback IP addresses

func NumCPU

func NumCPU() int

NumCPU Get the number of logical CPUs usable by the current process

Types

This section is empty.

Jump to

Keyboard shortcuts

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