Documentation
¶
Index ¶
- func ByLine(in io.Reader, fn func([]byte) error) error
- type Filter
- type Runnable
- type RunnableFunc
- type Runner
- func (r *Runner) Go()
- func (r *Runner) GoCtx(ctx context.Context)
- func (r *Runner) Pipe(rr Runnable) *Runner
- func (r *Runner) Run(ctx context.Context, in io.Reader, out io.Writer) error
- func (r *Runner) RunBytes(ctx context.Context, in io.Reader) ([]byte, error)
- func (r *Runner) RunString(ctx context.Context, in io.Reader) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RunnableFunc ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) Go ¶
func (r *Runner) Go()
Go executes the pipeline using os.Stdin and os.Stdout. Errors will be written to out.
Click to show internal directories.
Click to hide internal directories.