package netutil
import "github.com/coreos/etcd/pkg/netutil"
Package netutil implements network-related utility functions.
Index ¶
- func DropPort(port int) error
- func GetDefaultHost() (string, error)
- func IsNetworkTimeoutError(err error) bool
- func RecoverPort(port int) error
- func RemoveLatency() error
- func SetLatency(ms, rv int) error
- func URLStringsEqual(a []string, b []string) bool
Functions ¶
func DropPort ¶
func GetDefaultHost ¶
GetDefaultHost fetches the a resolvable name that corresponds to the machine's default routable interface
func IsNetworkTimeoutError ¶
func RecoverPort ¶
func RemoveLatency ¶
func RemoveLatency() error
func SetLatency ¶
func URLStringsEqual ¶
Source Files ¶
isolate_stub.go netutil.go routes.go
- Version
- v3.1.0-rc.0+incompatible
- Published
- Oct 14, 2016
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 4 hours ago –
Tools for package owners.