Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
handlers
Package handlers provides HTTP handlers for feedback records and health.
|
Package handlers provides HTTP handlers for feedback records and health. |
|
middleware
Package middleware provides HTTP middleware (auth, logging, CORS).
|
Package middleware provides HTTP middleware (auth, logging, CORS). |
|
response
Package response provides HTTP response helpers and RFC 9457 problem details.
|
Package response provides HTTP response helpers and RFC 9457 problem details. |
|
validation
Package validation provides request validation and custom validators.
|
Package validation provides request validation and custom validators. |
|
Package config provides application configuration loaded from environment variables and optional .env file via cleanenv.
|
Package config provides application configuration loaded from environment variables and optional .env file via cleanenv. |
|
Package datatypes defines shared types for events (e.g.
|
Package datatypes defines shared types for events (e.g. |
|
Package googleai provides a thin wrapper around the Google Gen AI SDK for embeddings and content generation (used for translation).
|
Package googleai provides a thin wrapper around the Google Gen AI SDK for embeddings and content generation (used for translation). |
|
Package huberrors provides sentinel and custom error types for the application.
|
Package huberrors provides sentinel and custom error types for the application. |
|
Package models defines request/response and domain types for feedback records.
|
Package models defines request/response and domain types for feedback records. |
|
Package observability provides OpenTelemetry metrics and tracing for the hub API.
|
Package observability provides OpenTelemetry metrics and tracing for the hub API. |
|
Package openai provides a thin wrapper around the official OpenAI Go SDK for embeddings and chat completions (used for translation).
|
Package openai provides a thin wrapper around the official OpenAI Go SDK for embeddings and chat completions (used for translation). |
|
Package repository provides data access for feedback records.
|
Package repository provides data access for feedback records. |
|
Package service implements business logic for feedback records.
|
Package service implements business logic for feedback records. |
|
Package workers provides River job workers (e.g.
|
Package workers provides River job workers (e.g. |
Click to show internal directories.
Click to hide internal directories.