lcatd-lambda

command
v0.236.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 11 Imported by: ? 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

Command lcatd-lambda serves the libcat dynamic backend under AWS Lambda behind a Function URL (or API Gateway v2 HTTP API; both deliver the v2 HTTP payload). provided.al2023, handler "bootstrap". It builds the same handler as cmd/lcatd from the same LCATD_* environment, so a read-only demo runs on Lambda with the SPA embedded and no persistent AWS services (in-memory store + a bundled read-only grain dir).

A writable deployment (DynamoDB + S3 via LCATD_DYNAMO_TABLE / LCATD_S3_BUCKET) additionally needs its queued work drained: container tickers freeze between invocations, so the function also accepts the scheduled drain event {"lcatd":"drain"} (an EventBridge rule in the terraform stack) and runs the vocab-download and export-job drains once per firing instead.

Jump to

Keyboard shortcuts

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