internal/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT

Directories

Path Synopsis
api
Package api provides HTTP handlers for the CodeAI API.
Package api provides HTTP handlers for the CodeAI API.
handlers
Package handlers contains HTTP request handlers for the API.
Package handlers contains HTTP request handlers for the API.
handlers/compensation
Package compensation provides HTTP handlers for compensation operations.
Package compensation provides HTTP handlers for compensation operations.
handlers/jobs
Package jobs provides HTTP handlers for job-related API endpoints.
Package jobs provides HTTP handlers for job-related API endpoints.
handlers/notifications
Package notifications provides HTTP handlers for notification endpoints.
Package notifications provides HTTP handlers for notification endpoints.
handlers/webhooks
Package webhooks provides HTTP handlers for webhook management endpoints.
Package webhooks provides HTTP handlers for webhook management endpoints.
handlers/workflow
Package workflow provides HTTP handlers for workflow operations.
Package workflow provides HTTP handlers for workflow operations.
middleware
Package middleware provides HTTP middleware for the API.
Package middleware provides HTTP middleware for the API.
testing
Package testing provides test utilities for the API package.
Package testing provides test utilities for the API package.
types
Package types defines API request and response types.
Package types defines API request and response types.
Package ast defines the Abstract Syntax Tree for CodeAI specifications.
Package ast defines the Abstract Syntax Tree for CodeAI specifications.
Package auth provides JWT authentication and authorization for CodeAI.
Package auth provides JWT authentication and authorization for CodeAI.
Package cache provides caching functionality with Redis and in-memory backends.
Package cache provides caching functionality with Redis and in-memory backends.
Package database provides database connectivity and operations.
Package database provides database connectivity and operations.
models
Package models defines domain models for the database layer.
Package models defines domain models for the database layer.
mongodb
Package mongodb provides MongoDB database connectivity and repository operations.
Package mongodb provides MongoDB database connectivity and repository operations.
repository
Package repository implements the repository pattern for data access.
Package repository implements the repository pattern for data access.
setup
Package setup provides database connection setup with repository initialization.
Package setup provides database connection setup with repository initialization.
testing
Package testing provides test helpers for database tests.
Package testing provides test helpers for database tests.
Core execution engine
Core execution engine
Package event provides an event dispatcher for the application.
Package event provides an event dispatcher for the application.
builder
Package builder provides a fluent API for constructing events.
Package builder provides a fluent API for constructing events.
bus
Package bus provides the core event bus functionality for pub/sub messaging.
Package bus provides the core event bus functionality for pub/sub messaging.
dispatcher
Package dispatcher provides event dispatching with persistence.
Package dispatcher provides event dispatching with persistence.
handlers
Package handlers provides specialized event handlers for complex event processing.
Package handlers provides specialized event handlers for complex event processing.
repository
Package repository provides data access for events.
Package repository provides data access for events.
subscribers
Package subscribers provides built-in event subscribers.
Package subscribers provides built-in event subscribers.
Package health provides health check functionality for the application.
Package health provides health check functionality for the application.
checks
Package checks provides built-in health checkers.
Package checks provides built-in health checkers.
LLM API client interface
LLM API client interface
notification
email
Package email provides email notification services using Brevo.
Package email provides email notification services using Brevo.
email/repository
Package repository provides email persistence.
Package repository provides email persistence.
email/subscriber
Package subscriber provides event subscribers for email notifications.
Package subscriber provides event subscribers for email notifications.
email/templates
Package templates provides email template management.
Package templates provides email template management.
Package openapi provides OpenAPI 3.0 specification generation from CodeAI AST.
Package openapi provides OpenAPI 3.0 specification generation from CodeAI AST.
Package pagination provides offset and cursor-based pagination support for database queries with filtering integration.
Package pagination provides offset and cursor-based pagination support for database queries with filtering integration.
Package parser provides a Participle-based parser for the CodeAI DSL.
Package parser provides a Participle-based parser for the CodeAI DSL.
Package query provides a query language parser and SQL compiler for CodeAI.
Package query provides a query language parser and SQL compiler for CodeAI.
Package rbac provides role-based access control with permission inheritance.
Package rbac provides role-based access control with permission inheritance.
Package scheduler provides configuration and initialization for the job scheduler.
Package scheduler provides configuration and initialization for the job scheduler.
handlers
Package handlers provides the task handler registry for the scheduler.
Package handlers provides the task handler registry for the scheduler.
monitoring
Package monitoring provides metrics and monitoring for the scheduler.
Package monitoring provides metrics and monitoring for the scheduler.
queue
Package queue provides a job queue manager using Asynq.
Package queue provides a job queue manager using Asynq.
repository
Package repository provides data access for scheduler jobs.
Package repository provides data access for scheduler jobs.
service
Package service provides the main scheduler service for job management.
Package service provides the main scheduler service for job management.
tasks
Package tasks defines task types and handlers for the scheduler.
Package tasks defines task types and handlers for the scheduler.
Package validation provides input validation with detailed error messages.
Package validation provides input validation with detailed error messages.
Package validator provides semantic validation for CodeAI AST.
Package validator provides semantic validation for CodeAI AST.
webhook
queue
Package queue provides asynchronous webhook delivery with worker pool.
Package queue provides asynchronous webhook delivery with worker pool.
repository
Package repository provides data access for webhook configurations and deliveries.
Package repository provides data access for webhook configurations and deliveries.
retry
Package retry provides automatic retry handling for failed webhook deliveries.
Package retry provides automatic retry handling for failed webhook deliveries.
security
Package security provides cryptographic utilities for webhook signing and verification.
Package security provides cryptographic utilities for webhook signing and verification.
service
Package service provides the webhook business logic layer.
Package service provides the webhook business logic layer.
subscriber
Package subscriber provides event bus integration for webhooks.
Package subscriber provides event bus integration for webhooks.
workflow
activities
Package activities implements Temporal activities for workflow execution.
Package activities implements Temporal activities for workflow execution.
activities/compensation
Package compensation provides compensation (rollback) activities for workflow steps.
Package compensation provides compensation (rollback) activities for workflow steps.
compensation
Package compensation provides enhanced saga pattern support for workflow compensation.
Package compensation provides enhanced saga pattern support for workflow compensation.
compensation/repository
Package repository provides data access for compensation records.
Package repository provides data access for compensation records.
compensation/testing
Package testing provides test utilities for compensation workflows.
Package testing provides test utilities for compensation workflows.
definitions
Package definitions contains workflow and activity type definitions.
Package definitions contains workflow and activity type definitions.
engine
Package engine provides the core workflow engine implementation.
Package engine provides the core workflow engine implementation.
patterns
Package patterns provides reusable workflow patterns for the workflow engine.
Package patterns provides reusable workflow patterns for the workflow engine.
repository
Package repository provides data persistence for workflow executions.
Package repository provides data persistence for workflow executions.

Jump to

Keyboard shortcuts

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