//
pkg.gl
Category
github.com/ibiscum/Go-Programming-Cookbook-Second-Edition
chapter10
internal
pipeline
package
0.0.0-20241212173216-745cb4b42230
Repository:
https://github.com/ibiscum/go-programming-cookbook-second-edition.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
75 SLOC
#
Functions
NewPipeline
NewPipeline initializes the workers and connects them, it returns the input of the pipeline and the final output.
#
Constants
Encode
Encode base64 encodes input.
Print
Print echo's all input to stdout.
#
Structs
Worker
Worker have one role that is determined when Work is called.
#
Type aliases
Job
Job is a job a worker can do.