Documentation ¶ Index ¶ Constants func New(name string, params core.Params) (core.Link, error) type TCP func (tcp *TCP) ConnectTo(core.Link) error func (tcp *TCP) Recv(msg *core.Message) error func (tcp *TCP) String() string Constants ¶ View Source const ( TcpConnTimeout = 2 * time.Second TcpWriteDeadline = 200 * time.Millisecond ) Variables ¶ This section is empty. Functions ¶ func New ¶ added in v0.0.2 func New(name string, params core.Params) (core.Link, error) Types ¶ type TCP ¶ type TCP struct { Name string *core.Connector *sync.Mutex // contains filtered or unexported fields } func (*TCP) ConnectTo ¶ func (tcp *TCP) ConnectTo(core.Link) error func (*TCP) Recv ¶ func (tcp *TCP) Recv(msg *core.Message) error func (*TCP) String ¶ added in v0.0.2 func (tcp *TCP) String() string Source Files ¶ View all Source files tcp.go Click to show internal directories. Click to hide internal directories.