ericpauley / broadcast

Broadcast channels for Go

Home Page:https://godoc.org/github.com/ericpauley/broadcast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broadcast

Broadcast channels for Go! This is a lightweight implementation using just channels and no other synchronization

How to Use:

Making a channel:

b := make(broadcast.Broadcast)

Broadcasting a message:

b <- message // Combine with whatever select magic you'd like!

Receiving a message:

message := b.Receive()

More info: https://godoc.org/github.com/ericpauley/broadcast

About

Broadcast channels for Go

https://godoc.org/github.com/ericpauley/broadcast

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%