Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine orchestrates the dispatch loop.
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool manages a global concurrency semaphore and an optional browser sub-semaphore.
func (*Pool) Acquire ¶
Acquire obtains a global slot (and a browser slot for browser tasks). Blocks until slots are available or ctx is cancelled.
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
Scheduler controls inter-request timing based on the configured pacing mode.
func NewScheduler ¶
func NewScheduler(cfg config.PacingConfig) *Scheduler
NewScheduler creates a Scheduler from the pacing config.
Click to show internal directories.
Click to hide internal directories.