worker

package
v0.99.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package worker claims and executes CapGateway jobs on the local machine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

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

Worker claims and executes gateway jobs.

func New

func New(api *client.Client, cfg *config.Config, runners map[types.GatewayCLI]runner.Runner) *Worker

New creates a Worker.

func (*Worker) Run

func (w *Worker) Run(ctx context.Context) error

Run loops until ctx is canceled.

Jump to

Keyboard shortcuts

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