osinfo

package
v2.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Architecture

func Architecture() string

Architecture returns the architecture of the operating system.

func KernelName

func KernelName() string

KernelName returns the name of the kernel.

func KernelRelease

func KernelRelease() string

KernelRelease returns the release of the kernel.

func KernelVersion

func KernelVersion() string

KernelVersion returns the version of the kernel.

func OSName

func OSName() string

OSName returns the name of the operating system, including the distribution for Linux when possible.

func OSVersion

func OSVersion() string

OSVersion returns the operating system release, e.g. major/minor version number and build ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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