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: 0

Documentation

Index

Constants

View Source
const (
	UdpConnTimeout   = 1 * time.Second
	UdpWriteDeadline = 1 * time.Second
)

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 UDP

type UDP struct {
	Name string

	*core.Connector
	*sync.Mutex
	// contains filtered or unexported fields
}

func (*UDP) ConnectTo

func (udp *UDP) ConnectTo(core.Link) error

func (*UDP) Recv

func (udp *UDP) Recv(msg *core.Message) error

Jump to

Keyboard shortcuts

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