host

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package host provides information about the host.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IP

func IP() (ip string, err error)

IP returns the first non-loopback IP address of the host.

func Name

func Name() (name string, err error)

Name returns the host name reported by the kernel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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