package
0.0.0-20240805123344-3dc119b79728
Repository: https://github.com/subhash-pal/golang-training-concurrency-major-.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Generator generates random numbers and sends them to a channel.
Merge merges results from multiple workers into a single channel.
NewActiveObject creates a new active object.
NewAgent creates a new Agent.
NewCircuitBreaker creates a new CircuitBreaker instance.
NewDispatcher creates a new dispatcher with the specified number of workers.
NewDispatcher creates a new dispatcher with the specified number of workers.
No description provided by the author
NewPool creates a new pool with the given number of workers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewWorker creates a new worker.
NewWorker creates a new worker.
NewWorker creates a new worker with the given ID and assigns it to the job queue.
Scraper scrapes the content of a URL and sends the result to the output channel.
Worker processes numbers received from an input channel and sends the result to an output channel.

# Variables

URLList represents a list of URLs to scrape.

# Structs

ActiveObject represents the active object.
Agent is a simple pub/sub agent.
CircuitBreaker represents a circuit breaker pattern.
Data represents structured data for map-reduce.
No description provided by the author
Dispatcher represents a dispatcher that distributes tasks to workers.
Dispatcher represents a dispatcher that distributes tasks to workers.
Job represents a unit of work.
No description provided by the author
Pool represents a pool of workers.
No description provided by the author
No description provided by the author
No description provided by the author
Result represents the result of a scraping operation.
Task represents a unit of work to be performed by a goroutine.
Task represents a structured task data.
No description provided by the author
Task represents a unit of work.
Task represents a unit of work.
No description provided by the author
Worker represents a worker that executes tasks.
Worker represents a worker that executes tasks.
Worker represents a worker that performs jobs.