bcast

package
v0.0.0-...-f13434b Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Unlicense Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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