# Functions
AllLocalIP4 returns all the IPv4 addresses that this host can be reached on.
No description provided by the author
No description provided by the author
No description provided by the author
DefaultLocalIP4 returns an IPv4 address that this host can be reached on.
Env returns an environment variable or a default value if not specified.
No description provided by the author
GetEnv returns an environment value if specified.
GetLogLevel returns the current glog log level.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Prompt for user input of a boolean value.
Prompt for user input by disabling echo in terminal, useful for password prompt.
Takes an io.Reader and prompt for user input if it's a terminal, returning the result.
Prompt for user input but take a default in case nothing is provided.
RelativizePaths updates the given refs to be relative paths, relative to the given base directory.
RelativizePathWithNoBacksteps updates the given refs to be relative paths, relative to the given base directory as long as they do not require backsteps.
ResolvePaths updates the given refs to be absolute paths, relative to the given base directory.
TransportFor returns an http.Transport for the given ca and client cert (which may be empty strings).
TryListen tries to open a connection on the given port and returns true if it succeeded.
WaitForDial attempts to connect to the given address, closing and returning nil on the first successful connection.
# Variables
NoDefaultIP means no suitable non-loopback address can be found.
# Interfaces
Mux is a standard mux interface for HTTP.
# Type aliases
No description provided by the author