PiPEline

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdFunc

type CmdFunc func(args ...interface{}) InChan

type InChan

type InChan chan interface{}

type OutChan

type OutChan chan interface{}

type Pipe

type Pipe struct {
	Cmd     CmdFunc
	PipeCmd PipeCmdFunc
	Count   int
}

func New

func New() *Pipe

func (*Pipe) Exec

func (this *Pipe) Exec(args ...interface{}) OutChan

func (*Pipe) SetCmd

func (this *Pipe) SetCmd(c CmdFunc)

func (*Pipe) SetPipeCmd

func (this *Pipe) SetPipeCmd(c PipeCmdFunc, count int)

type PipeCmdFunc

type PipeCmdFunc func(in InChan) OutChan

Jump to

Keyboard shortcuts

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