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.

Source Files