package
Version:
v0.0.0-...-891ad17
Opens a new window with list of versions in this module.
Published: Dec 22, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewPipeline initializes the workers and
connects them, it returns the input of the pipeline
and the final output
Job is a job a worker can do
const (
Print Job = "print"
Encode Job = "encode"
)
Worker have one role
that is determined when
Work is called
Encode takes plain text as int
and returns "string => <base64 string encoding>
as out
Print prints w.in and repalys it
on w.out
Work is how to dispatch a worker, they are assigned
a job here
Source Files
¶
Click to show internal directories.
Click to hide internal directories.