sink

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2018 License: MIT Imports: 8 Imported by: 1

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL