command

package module
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 3 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capture

func Capture(writers ...io.Writer) gloo.Command[[]byte, []byte]

Capture returns a Command that passes every line through unchanged while writing it (newline-terminated) to each provided writer. Place it anywhere in a pipeline to capture the stream into one or more buffers without altering it; with no writers it is a pass-through.

Capturing is a side-effect, so Capture is a Tap: the line continues downstream after being written.

Types

This section is empty.

Jump to

Keyboard shortcuts

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