Documentation ¶
Overview ¶
Bi-directional pipe (for proxying use cases)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pipe ¶
func Pipe( party1 NamedEndpoint, party2 NamedEndpoint, ) error
make two parties talk to each other (usually for proxying use cases). for debugging purposes you can optionally name the endpoints (see WithName(), Unnamed() )
Types ¶
type NamedEndpoint ¶
type NamedEndpoint struct {
// contains filtered or unexported fields
}
func Unnamed ¶
func Unnamed(endpoint io.ReadWriteCloser) NamedEndpoint
func WithName ¶
func WithName(name string, endpoint io.ReadWriteCloser) NamedEndpoint
Click to show internal directories.
Click to hide internal directories.