package
Version:
v0.0.0-...-0a721d5
Opens a new window with list of versions in this module.
Published: Jun 21, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package dup contains the implementation of the dup plugin, which generates the deriveDup function.
The deriveDup duplicates messages received on c to both c1 and c2.
deriveDup(c <-chan T) (c1, c2 <-chan T)
New is a constructor for the dup code generator.
This generator should be reconstructed for each package.
NewPlugin creates a new dup plugin.
This function returns the plugin name, default prefix and a constructor for the dup code generator.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.