cmw

package module
v0.0.0-...-408a6ec Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 2 Imported by: 0

README

cmw

Multiwriter implementation with goroutines (gotta go fast)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcurrentMultiWriter

func ConcurrentMultiWriter(writers ...io.Writer) io.Writer

ConcurrentMultiWriter creates a writer that duplicates its writes to all the provided writers, similar to the Unix tee(1) command.

Each write is written to each listed writer, concurrently. If a listed writer returns an error, that overall write operation stops and returns the error; it does not continue down the list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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