Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoOpHandshake ¶
Types ¶
type HandshakeFunc ¶
type TCPTransport ¶
type TCPTransport struct { Receive Receiver Handshake HandshakeFunc // contains filtered or unexported fields }
TCPTransport implements Transport
func NewTCPTransport ¶
func NewTCPTransport(addr string) *TCPTransport
func (*TCPTransport) Addr ¶
func (t *TCPTransport) Addr() string
func (*TCPTransport) Close ¶
func (t *TCPTransport) Close() error
func (*TCPTransport) Consume ¶
func (t *TCPTransport) Consume() <-chan Message
func (*TCPTransport) Listen ¶
func (t *TCPTransport) Listen() error
Click to show internal directories.
Click to hide internal directories.