Discover Packages
github.com/maximilien/weave-cli
src
pkg
worker
package
Version:
v0.14.0
Opens a new window with list of versions in this module.
Published: Sep 10, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Workers int
EmbeddingModel string
QueueSize int
}
Config contains worker pool configuration
Pool manages a pool of workers for parallel task processing
NewPool creates a new worker pool
GetStats returns current processing statistics
IsRateLimited returns true if rate limiting is active
Provider returns the detected embedding provider
Results returns the results channel
Start begins the worker pool
Stop cancels all workers and waits for them to finish
Submit adds a task to the pool
Wait closes the task queue and waits for all workers to finish
Result contains the outcome of processing a task
Stats returns current processing statistics
Task represents a unit of work to be processed
Source Files
¶
Click to show internal directories.
Click to hide internal directories.