Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Dialer ¶
type Dialer interface {
Dial() (Connection, error)
}
type Endpoint ¶
type Endpoint struct { Local bool LocalAddress string RemoteAddress string Transport string Network string }
func NewLocalEndpoint ¶
func NewLocalEndpoint() *Endpoint
func NewRemoteEndpoint ¶
func NewRemoteEndpoint() *Endpoint
func (*Endpoint) WithAddress ¶
func (*Endpoint) WithNetwork ¶
func (*Endpoint) WithTransport ¶
type Listener ¶
type Listener interface { Listen() (Connection, error) Stop() error }
type Preconnection ¶
type Preconnection interface { Listen() (Listener, error) Initiate() (Connection, error) }
Click to show internal directories.
Click to hide internal directories.