Help us shape the future of Go! Take the 2026 Go Developer Survey

hostname

package module
v0.0.0-...-3b8b578 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: MIT Imports: 1 Imported by: 0

README

hostname-go

hostname-go is a tiny library which wraps the Go's `os.Hostname` and cache it to reduce syscall.

Documentation

Overview

Package hostname returns the host name reported by kernel.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() string

Get 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