aiworker

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: AGPL-3.0 Imports: 31 Imported by: 0 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.

Documentation

Overview

Package aiworker runs background AI jobs.

Index

Constants

View Source
const ServiceName = "ai-worker"

ServiceName is the canonical service identifier for the AI worker.

Variables

This section is empty.

Functions

func New

func New(opts ...apptheory.Option) *apptheory.App

New constructs the AI worker app.

func Register

func Register(app *apptheory.App, srv *Server) *apptheory.App

Register registers AI worker routes and hooks with an app.

Types

type Server

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

Server processes AI jobs from the worker queue.

func NewServer

func NewServer(cfg config.Config, st aiStore, art *artifacts.Store, comp comprehendAPI, rek rekognitionAPI) *Server

NewServer constructs a Server with AWS service clients and a store.

func (*Server) Register

func (s *Server) Register(app *apptheory.App)

Register registers SQS handlers with the provided app.

Jump to

Keyboard shortcuts

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