util

package
v2.12.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToEtcHosts

func AddToEtcHosts(hostname string) error

AddToEtcHosts aliases the router IP address to the hostname via /etc/hosts

func PrependError

func PrependError(expected error) string

PrependError adds 'Error: ' to an expected error, like the CLI does to error messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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