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

aiworker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: AGPL-3.0 Imports: 31 Imported by: 0

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