streamutil

package
v2.289.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClosePipeOut

func ClosePipeOut(out *io.PipeWriter, incoming error, errPrefix string, l *zap.Logger)

func FuncBlockTransformer

func FuncBlockTransformer(buf []byte, reader io.Reader, l *zap.Logger, transformFunc func(block []byte) ([]byte, error)) *io.PipeReader

func FuncReader

func FuncReader(readFunc func() ([]byte, error), l *zap.Logger) *io.PipeReader

func FuncSink

func FuncSink(buffer []byte, reader io.Reader, writeFunc func(block []byte) error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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