internal/

directory
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT

Directories

Path Synopsis
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).
tools
Package tools describes the built-in tools agents can use: their names, what they do and the JSON schema of their arguments.
Package tools describes the built-in tools agents can use: their names, what they do and the JSON schema of their arguments.
api
handlers
internal/api/handlers/component.go
internal/api/handlers/component.go
middleware
internal/api/middleware/auth.go
internal/api/middleware/auth.go
Package apps connects GoHead to other services: remote MCP servers (Model Context Protocol, Streamable HTTP transport) whose tools agents can use.
Package apps connects GoHead to other services: remote MCP servers (Model Context Protocol, Streamable HTTP transport) whose tools agents can use.
apptest
Package apptest runs a small MCP server for tests of connected apps.
Package apptest runs a small MCP server for tests of connected apps.
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.
Package demo runs GoHead as a public demo: visitors sign in with a shared account that can look at everything in the admin and edit content drafts, but not change settings, and the database goes back to a snapshot every night.
Package demo runs GoHead as a public demo: visitors sign in with a shared account that can look at everything in the admin and edit content drafts, but not change settings, and the database goes back to a snapshot every night.
internal/models/json_map.go
internal/models/json_map.go
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.
Package sso signs people in with an identity provider (OpenID Connect, authorization code flow with PKCE), next to passwords: Google for now.
Package sso signs people in with an identity provider (OpenID Connect, authorization code flow with PKCE), next to passwords: Google for now.
Package webhooks delivers content events to external URLs.
Package webhooks delivers content events to external URLs.
Package webui serves the admin UI embedded in the binary.
Package webui serves the admin UI embedded in the binary.

Jump to

Keyboard shortcuts

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