Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v2
Package v2 is the oCMS REST API v2, served at /api/v2.
|
Package v2 is the oCMS REST API v2, served at /api/v2. |
|
v2/media
Package media is the /api/v2/media domain.
|
Package media is the /api/v2/media domain. |
|
v2/pages
Package pages is the /api/v2/pages domain.
|
Package pages is the /api/v2/pages domain. |
|
v2/taxonomy
Package taxonomy is the /api/v2/tags and /api/v2/categories domain.
|
Package taxonomy is the /api/v2/tags and /api/v2/categories domain. |
|
Package auth provides password hashing and verification utilities using the argon2id algorithm for secure credential storage.
|
Package auth provides password hashing and verification utilities using the argon2id algorithm for secure credential storage. |
|
Package cache provides an in-memory caching layer for oCMS.
|
Package cache provides an in-memory caching layer for oCMS. |
|
Package geoip provides IP-to-country lookup using MaxMind GeoLite2-Country database.
|
Package geoip provides IP-to-country lookup using MaxMind GeoLite2-Country database. |
|
Package handler implements HTTP handlers for the admin interface, including user management, page editing, configuration, and authentication.
|
Package handler implements HTTP handlers for the admin interface, including user management, page editing, configuration, and authentication. |
|
Package i18n provides internationalization support for the admin UI.
|
Package i18n provides internationalization support for the admin UI. |
|
Package logging provides a custom slog handler that integrates with the Event Log system.
|
Package logging provides a custom slog handler that integrates with the Event Log system. |
|
Package middleware provides HTTP middleware for authentication, authorization, and request context handling.
|
Package middleware provides HTTP middleware for authentication, authorization, and request context handling. |
|
Package model defines domain models and types used throughout the application.
|
Package model defines domain models and types used throughout the application. |
|
Package module provides a module system for extending oCMS functionality.
|
Package module provides a module system for extending oCMS functionality. |
|
Package render provides HTML template rendering with layout support, flash message handling, and helper functions for the admin interface.
|
Package render provides HTML template rendering with layout support, flash message handling, and helper functions for the admin interface. |
|
Package seo provides SEO utilities for building meta tags and structured data.
|
Package seo provides SEO utilities for building meta tags and structured data. |
|
markdown
Package markdown implements HTTP Accept: text/markdown content negotiation for the public site.
|
Package markdown implements HTTP Accept: text/markdown content negotiation for the public site. |
|
Package service provides business logic and service layer functionality including event logging for audit trails.
|
Package service provides business logic and service layer functionality including event logging for audit trails. |
|
Package session provides HTTP session management using SCS with SQLite storage.
|
Package session provides HTTP session management using SCS with SQLite storage. |
|
Package testutil provides shared test helpers for the oCMS project.
|
Package testutil provides shared test helpers for the oCMS project. |
|
moduleutil
Package moduleutil provides module-specific test helpers for the oCMS project.
|
Package moduleutil provides module-specific test helpers for the oCMS project. |
|
Package theme provides theme loading, switching, and rendering for the frontend.
|
Package theme provides theme loading, switching, and rendering for the frontend. |
|
Package themes embeds core themes into the binary.
|
Package themes embeds core themes into the binary. |
|
Package transfer provides import/export functionality for oCMS content.
|
Package transfer provides import/export functionality for oCMS content. |
|
Package util provides general-purpose utility functions.
|
Package util provides general-purpose utility functions. |
|
Package version provides build-time version information.
|
Package version provides build-time version information. |
|
views
|
|
|
admin
Package admin provides templ-based views for the admin interface.
|
Package admin provides templ-based views for the admin interface. |
|
components/icon
Package icon provides Lucide SVG icon components for templ.
|
Package icon provides Lucide SVG icon components for templ. |
|
utils
Package utils provides utility functions for templUI components.
|
Package utils provides utility functions for templUI components. |
|
Package webhook provides webhook event dispatching and delivery.
|
Package webhook provides webhook event dispatching and delivery. |
Click to show internal directories.
Click to hide internal directories.