osinfo

Imports

Imports #

"fmt"
"syscall/js"
"os"
"syscall"
"unsafe"
"bytes"
"strings"
"unsafe"
"fmt"
"internal/syscall/windows"
"syscall"
"strings"
"syscall"
"errors"
"fmt"

Constants & Variables

procUname var #

var procUname uintptr

Type Aliases

utsname type #

type utsname syscall.Utsname

Structs

utsname struct #

type utsname struct {
Sysname [257]byte
Nodename [257]byte
Release [257]byte
Version [257]byte
Machine [257]byte
}

Functions

Version function #

Version returns the OS version name/number.

func Version() (string, error)

Version function #

Version returns the OS version name/number.

func Version() (string, error)

Version function #

Version returns the OS version name/number.

func Version() (string, error)

Version function #

Version returns the OS version name/number.

func Version() (string, error)

Version function #

Version returns the OS version name/number.

func Version() (string, error)

Version function #

Version returns the OS version name/number.

func Version() (string, error)

node function #

func node() (version string, ok bool)

rawsysvicall6 function #

go:linkname rawsysvicall6 runtime.syscall_rawsysvicall6

func rawsysvicall6(fn uintptr, nargs uintptr, a1 uintptr, a2 uintptr, a3 uintptr, a4 uintptr, a5 uintptr, a6 uintptr) (r1 syscall.Errno, r2 syscall.Errno, err syscall.Errno)

uname function #

func uname(buf *utsname) error

uname function #

func uname(buf *utsname) error

Generated with Arrow