pipe

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct{}

Factory connects to stack using standard streams (STDIN, STDOUT pipes).

func NewPipeFactory

func NewPipeFactory(_ *slog.Logger) *Factory

NewPipeFactory returns a new factory instance.

func (*Factory) Close

func (f *Factory) Close() error

Close the factory.

func (*Factory) SpawnWorkerWithContext

func (f *Factory) SpawnWorkerWithContext(ctx context.Context, cmd *exec.Cmd, options ...worker.Options) (*worker.Process, error)

SpawnWorkerWithContext Creates a new Process and connects it to goridge relay, method Wait() must be handled on the level above.

Jump to

Keyboard shortcuts

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