Categorygithub.com/dustin/go-broadcast
modulepackage
0.0.0-20211018055107-71439988bd91
Repository: https://github.com/dustin/go-broadcast.git
Documentation: pkg.go.dev

# README

pubsubbing channels.

This project primarily exists because I've been copying and pasting the exact same two files into numerous projects. It does work well, though.

See the documentation for usage and examples.

# Functions

NewBroadcaster creates a new broadcaster with the given input channel buffer length.
NewMuxObserver constructs a new MuxObserver.

# Structs

A MuxObserver multiplexes several streams of observations onto a single delivery goroutine.

# Interfaces

The Broadcaster interface describes the main entry points to broadcasters.