Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Receiver ¶
func Receiver(port int, chans ...interface{})
Matches type-tagged JSON received on `port` to element types of `chans`, then sends the decoded value on the corresponding channel
func Transmitter ¶
func Transmitter(port int, chans ...interface{})
Encodes received values from `chans` into type-tagged JSON, then broadcasts it on `port`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.