util

package
v2.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

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