os

package
v1.55.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package os handles grabbing OS info from the system

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hostname

func Hostname() (string, error)

Hostname retrieves the hostname of the machine

func MACAddress

func MACAddress() string

MACAddress returns the MAC address for the host.

func Name

func Name() (string, error)

Name returns the name of the os.

Types

This section is empty.

Jump to

Keyboard shortcuts

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