Documentation ¶
Overview ¶
Package wrpc provides a pool of Workers that can run a chain of go functions by being piped into each other.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
func Call(names ...string) (io.Reader, io.WriteCloser)
Call executes functions by chaining them and piping each function's output into the next.
The returned WriteCloser is piped to the first func's Reader and the returned Reader is piped from the last func's Writer.
The returned Reader returns the first error from any function or io.EOF when all functions finish.
Types ¶
type HandlerFunc ¶
HandlerFunc is a remote function.
Click to show internal directories.
Click to hide internal directories.