barista.run: barista.run/modules/meta/multicast Index | Files

package multicast

import "barista.run/modules/meta/multicast"

Package multicast provides a method to convert any bar.Module into one that can be added to the bar multiple times. When combined with group.Simple, this allows multiple combinations of modules without creating extra instances.

Index

Package Files

multicast.go

func New Uses

func New(original bar.Module) bar.Module

New creates a multicast module that can be added to the bar any number of times, and mirrors the output of the original module at each location. IMPORTANT: The original module must not be added to the bar.

Package multicast imports 5 packages (graph). Updated 2018-11-25. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).