Help us shape the future of Go! Take the 2026 Go Developer Survey

scheduler

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

Scheduler manages the worker pool and task distribution

func New

func New(cfg *config.Config) *Scheduler

New creates a new Scheduler instance

func (*Scheduler) GetResults

func (s *Scheduler) GetResults() []map[string]interface{}

GetResults returns the collected results after processing

func (*Scheduler) Start

func (s *Scheduler) Start(ctx context.Context)

Start spins up the worker pool and begins processing tasks

func (*Scheduler) Wait

func (s *Scheduler) Wait()

Wait blocks until all workers finish

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL