network

package
v0.0.0-...-27b812d Latest Latest
Warning

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

Go to latest
Published: May 29, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRefused = errors.New("refused")

the operation was actively refused

View Source
var ErrReset = errors.New("reset")

the operation was reset abruptly

View Source
var ErrTimeout = errors.New("timeout")

operation timed out

Functions

This section is empty.

Types

type Dialer

type Dialer interface {
	Dial(remote net.Addr) (net.Conn, error)
}

generic dialer dials out to a remote address returns a net.Conn and nil on success returns nil and error if an error happens while dialing

Jump to

Keyboard shortcuts

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