Documentation
¶
Overview ¶
Package internal documents the shared event library server internals.
The internal tree is organized by responsibility: - api: HTTP handlers, middleware, rendering, and routing - domain: business logic and domain models - storage: database access and repositories (SQLc + Postgres) - jobs: background workers and queues - auth, audit, config, metrics, jsonld: shared infrastructure
Code in internal/ is not meant for external import.
Directories
¶
| Path | Synopsis |
|---|---|
|
pagination
Package pagination provides cursor-based pagination for SEL API endpoints.
|
Package pagination provides cursor-based pagination for SEL API endpoints. |
|
developers
Package developers provides developer account management functionality including developer creation, authentication, invitation flows, and API key management.
|
Package developers provides developer account management functionality including developer creation, authentication, invitation flows, and API key management. |
|
scraper
Package scraper defines the domain types and interfaces for scraper source management.
|
Package scraper defines the domain types and interfaces for scraper source management. |
|
users
Package users provides user account management functionality including user creation, invitation flows, account activation, and user lifecycle operations.
|
Package users provides user account management functionality including user creation, invitation flows, account activation, and user lifecycle operations. |
|
Package ical provides ICS (RFC 5545) parsing, VEVENT-to-EventInput mapping, and RRULE expansion for the Togather scraper pipeline.
|
Package ical provides ICS (RFC 5545) parsing, VEVENT-to-EventInput mapping, and RRULE expansion for the Togather scraper pipeline. |
|
schema
Package schema provides typed Go structs for schema.org JSON-LD output.
|
Package schema provides typed Go structs for schema.org JSON-LD output. |
|
Package llmsafe provides shared LLM prompt-injection defense: boundary tagging with cryptographic nonces and HTML sanitization.
|
Package llmsafe provides shared LLM prompt-injection defense: boundary tagging with cryptographic nonces and HTML sanitization. |
|
Package performance provides load testing utilities for the Togather server.
|
Package performance provides load testing utilities for the Togather server. |
|
Package mcp provides MCP (Model Context Protocol) server implementation for Togather SEL.
|
Package mcp provides MCP (Model Context Protocol) server implementation for Togather SEL. |
|
Package sse provides a Server-Sent Events broker that fans River job events out to N connected SSE clients.
|
Package sse provides a Server-Sent Events broker that fans River job events out to N connected SSE clients. |
|
Package testauth provides authentication utilities for testing and development.
|
Package testauth provides authentication utilities for testing and development. |
Click to show internal directories.
Click to hide internal directories.