Documentation ¶
Overview ¶
Package inproc provides tools to implement an in-process asynchronous pipe of net.Conns.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrClosed = errors.New("inproc: connection closed") ErrConnRefused = errors.New("inproc: connection refused") )
Functions ¶
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
A Listener is an in-process listener for stream-oriented protocols. Listener implements net.Listener.
Multiple goroutines may invoke methods on a Listener simultaneously.
Click to show internal directories.
Click to hide internal directories.