Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
accounts
Package accounts creates user accounts and the first administrator.
|
Package accounts creates user accounts and the first administrator. |
|
agent/templates
Package templates holds ready-made agents (summarizer, tagger, moderator, translator).
|
Package templates holds ready-made agents (summarizer, tagger, moderator, translator). |
|
api/handlers
internal/api/handlers/component.go
|
internal/api/handlers/component.go |
|
api/middleware
internal/api/middleware/auth.go
|
internal/api/middleware/auth.go |
|
contract
Package contract builds a fixed content model and compares the public API generated from it (OpenAPI document, GraphQL introspection) with the snapshots in api/, so changes to the API surface are visible in review and checked for breaking changes in CI.
|
Package contract builds a fixed content model and compares the public API generated from it (OpenAPI document, GraphQL introspection) with the snapshots in api/, so changes to the API surface are visible in review and checked for breaking changes in CI. |
|
models
internal/models/json_map.go
|
internal/models/json_map.go |
|
openapi
Package openapi describes the REST API as an OpenAPI 3.1 document, generated from the collections, components and singletons the same way the GraphQL schema is, so typed clients and Swagger UI always match the current content model.
|
Package openapi describes the REST API as an OpenAPI 3.1 document, generated from the collections, components and singletons the same way the GraphQL schema is, so typed clients and Swagger UI always match the current content model. |
|
webhooks
Package webhooks delivers content events to external URLs.
|
Package webhooks delivers content events to external URLs. |
|
webui
Package webui serves the admin UI embedded in the binary.
|
Package webui serves the admin UI embedded in the binary. |
|
pkg
|
|
|
auth
pkg/auth/jwt.go
|
pkg/auth/jwt.go |
|
cluster
Package cluster keeps state that lives in memory consistent across API replicas.
|
Package cluster keeps state that lives in memory consistent across API replicas. |
|
logger
pkg/logger/logger.go
|
pkg/logger/logger.go |
|
media
Package media stores uploaded files on a pluggable backend: the local filesystem (development, single replica) or any S3-compatible object store (AWS S3, MinIO, Cloudflare R2, Garage, Ceph...).
|
Package media stores uploaded files on a pluggable backend: the local filesystem (development, single replica) or any S3-compatible object store (AWS S3, MinIO, Cloudflare R2, Garage, Ceph...). |
|
metrics
pkg/metrics/metrics.go
|
pkg/metrics/metrics.go |
|
migrations
Package migrations versions the database schema.
|
Package migrations versions the database schema. |
|
queue
Package queue runs GoHead's background jobs (collection events, agent runs, webhook deliveries) behind one interface, with two drivers:
|
Package queue runs GoHead's background jobs (collection events, agent runs, webhook deliveries) behind one interface, with two drivers: |
|
ratelimit
Package ratelimit provides fixed-window counters shared by all API replicas through Redis, with an in-memory fallback when Redis is not configured or temporarily unreachable.
|
Package ratelimit provides fixed-window counters shared by all API replicas through Redis, with an in-memory fallback when Redis is not configured or temporarily unreachable. |
|
tracing
pkg/tracing/tracing.go
|
pkg/tracing/tracing.go |
|
validation
Package validation holds checks that need the database.
|
Package validation holds checks that need the database. |
Click to show internal directories.
Click to hide internal directories.