Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mpipe ¶
type Mpipe struct {
// contains filtered or unexported fields
}
func CommandWithOptions ¶
func CommandWithOptions(cmd *exec.Cmd, opts ...MpipeOptions) *Mpipe
type MpipeOptions ¶
type MpipeOptions func(*Mpipe)
func WithStderrTransformer ¶
func WithStderrTransformer(t Transformer) MpipeOptions
func WithStdinTransformer ¶
func WithStdinTransformer(t Transformer) MpipeOptions
func WithStdoutTransformer ¶
func WithStdoutTransformer(t Transformer) MpipeOptions
type Transformer ¶
var NoTransform Transformer = func(b []byte) []byte {
return b
}
Click to show internal directories.
Click to hide internal directories.