internal/

directory
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: Apache-2.0

Directories

Path Synopsis
Package api provides HTTP handlers for the GoatFlow application.
Package api provides HTTP handlers for the GoatFlow application.
components
dynamic
Package dynamic provides dynamic component rendering and field handling.
Package dynamic provides dynamic component rendering and field handling.
handlers
Package handlers provides base CRUD handlers for component operations.
Package handlers provides base CRUD handlers for component operations.
Package core provides core business logic for article type resolution.
Package core provides core business logic for article type resolution.
Package email provides email handling and processing utilities.
Package email provides email handling and processing utilities.
inbound/adapter
Package adapter provides mail account adapters for inbound email processing.
Package adapter provides mail account adapters for inbound email processing.
inbound/filters
Package filters provides email filter annotations and processing rules.
Package filters provides email filter annotations and processing rules.
inbound/postmaster
Package postmaster provides email parsing, filtering, and dispatch orchestration.
Package postmaster provides email parsing, filtering, and dispatch orchestration.
Package history provides ticket history formatting and display utilities.
Package history provides ticket history formatting and display utilities.
Package mailaccountmeta provides mail account metadata parsing and serialization.
Package mailaccountmeta provides mail account metadata parsing and serialization.
Package mailqueue provides email queue storage and management.
Package mailqueue provides email queue storage and management.
Package models provides domain models and data structures.
Package models provides domain models and data structures.
Package notificationevents evaluates the ticket notification rules managed under Admin -> Ticket Notifications (the OTRS notification_event, notification_event_item and notification_event_message tables) and queues the resulting email on mail_queue for the email runner to send.
Package notificationevents evaluates the ticket notification rules managed under Admin -> Ticket Notifications (the OTRS notification_event, notification_event_item and notification_event_message tables) and queues the resulting email on mail_queue for the email runner to send.
platform
api
apierrors
Package apierrors provides structured API error codes and responses.
Package apierrors provides structured API error codes and responses.
auth
Package auth provides authentication and JWT token handling.
Package auth provides authentication and JWT token handling.
cache
Package cache provides caching utilities including compression support.
Package cache provides caching utilities including compression support.
components/lambda
Package lambda provides JavaScript execution capabilities for dynamic modules
Package lambda provides JavaScript execution capabilities for dynamic modules
config
Package config provides application configuration management.
Package config provides application configuration management.
constants
Package constants provides application-wide constant definitions.
Package constants provides application-wide constant definitions.
convert
Package convert provides type conversion utilities.
Package convert provides type conversion utilities.
customfields
Package customfields implements GoatKit PaaS Core universal custom fields.
Package customfields implements GoatKit PaaS Core universal custom fields.
data
Package data provides data access repositories for lookup tables.
Package data provides data access repositories for lookup tables.
database
Package database provides database connection and adapter management.
Package database provides database connection and adapter management.
dbconfig
Package dbconfig resolves the driver-scoped database connection environment.
Package dbconfig resolves the driver-scoped database connection environment.
deletion
Package deletion implements the GoatKit PaaS Entity Deletion system.
Package deletion implements the GoatKit PaaS Entity Deletion system.
email/inbound/connector
Package connector provides email server connection interfaces and implementations.
Package connector provides email server connection interfaces and implementations.
ldap
Package ldap is GoatFlow's LDAP / Active Directory directory client.
Package ldap is GoatFlow's LDAP / Active Directory directory client.
logging
Package logging configures process-wide structured logging for GoatFlow.
Package logging configures process-wide structured logging for GoatFlow.
lookups
Package lookups provides static lookup data including country codes.
Package lookups provides static lookup data including country codes.
lookups/lookupstest
Package lookupstest provides test helpers for lookup numbering.
Package lookupstest provides test helpers for lookup numbering.
marketplace
Package marketplace provides plugin discovery, installation, and update functionality using GitHub Releases as the distribution backend.
Package marketplace provides plugin discovery, installation, and update functionality using GitHub Releases as the distribution backend.
mcp
Package mcp implements the Model Context Protocol server for GoatFlow.
Package mcp implements the Model Context Protocol server for GoatFlow.
middleware
Package middleware provides HTTP middleware for authentication and authorization.
Package middleware provides HTTP middleware for authentication and authorization.
notifications
Package notifications provides notification context and delivery management.
Package notifications provides notification context and delivery management.
organisation
Package organisation implements GoatKit PaaS Core multi-tenancy.
Package organisation implements GoatKit PaaS Core multi-tenancy.
plugin
Package plugin re-exports the public plugin types from pkg/plugin.
Package plugin re-exports the public plugin types from pkg/plugin.
plugin/core
Package core provides core built-in plugins for GoatFlow.
Package core provides core built-in plugins for GoatFlow.
plugin/example
Package example provides example plugin implementations for testing.
Package example provides example plugin implementations for testing.
plugin/grpc
Package grpc provides gRPC-based plugin runtime using HashiCorp go-plugin.
Package grpc provides gRPC-based plugin runtime using HashiCorp go-plugin.
plugin/grpc/example command
Example gRPC plugin for GoatKit.
Example gRPC plugin for GoatKit.
plugin/packaging
Package packaging provides ZIP-based plugin packaging and extraction.
Package packaging provides ZIP-based plugin packaging and extraction.
plugin/wasm
Package wasm provides a WASM-based plugin runtime using wazero.
Package wasm provides a WASM-based plugin runtime using wazero.
pluginui
Package pluginui implements the GoatKit PaaS Plugin UI System.
Package pluginui implements the GoatKit PaaS Plugin UI System.
routing
Package routing provides HTTP routing and analytics endpoints.
Package routing provides HTTP routing and analytics endpoints.
runner
Package runner provides background task runner and lifecycle management.
Package runner provides background task runner and lifecycle management.
schema
Package schema provides database schema discovery and introspection.
Package schema provides database schema discovery and introspection.
search
Package search implements GoatFlow's search backends: the application database (default) and an Elasticsearch-compatible index (Zinc or Elasticsearch) kept in sync with the database.
Package search implements GoatFlow's search backends: the application database (default) and an Elasticsearch-compatible index (Zinc or Elasticsearch) kept in sync with the database.
secureconfig
Package secureconfig provides encrypted key-value storage for plugin secrets.
Package secureconfig provides encrypted key-value storage for plugin secrets.
service
Package service provides business logic services for the application.
Package service provides business logic services for the application.
services/adapter
Package adapter provides service adapters for database operations.
Package adapter provides service adapters for database operations.
services/database
Package database provides database service interfaces and implementations.
Package database provides database service interfaces and implementations.
services/k8s
Package k8s provides Kubernetes environment detection and integration.
Package k8s provides Kubernetes environment detection and integration.
services/registry
Package registry provides service registration and lifecycle management.
Package registry provides service registration and lifecycle management.
shared
Package shared provides shared types and utilities across packages.
Package shared provides shared types and utilities across packages.
sqllex
Package sqllex is the SQL lexer shared by the plugin sandbox's table scope check and the organisation query scoper.
Package sqllex is the SQL lexer shared by the plugin sandbox's table scope check and the organisation query scoper.
sysconfig
Package sysconfig provides system configuration management.
Package sysconfig provides system configuration management.
ticketstate
Package ticketstate provides shared ticket-state operations used by both core API handlers and the plugin HostAPI, so state-change semantics live in exactly one place.
Package ticketstate provides shared ticket-state operations used by both core API handlers and the plugin HostAPI, so state-change semantics live in exactly one place.
utils
Package utils provides utility functions including HTML sanitization.
Package utils provides utility functions including HTML sanitization.
version
Package version provides build-time version information for GoatFlow.
Package version provides build-time version information for GoatFlow.
webhook
Package webhook implements outbound webhooks: endpoint configuration stored in gk_webhook, a durable delivery log in gk_webhook_delivery, HMAC-signed HTTP delivery with bounded retries, and the event-source cursors product code uses to turn database changes into events exactly once.
Package webhook implements outbound webhooks: endpoint configuration stored in gk_webhook, a durable delivery log in gk_webhook_delivery, HMAC-signed HTTP delivery with bounded retries, and the event-source cursors product code uses to turn database changes into events exactly once.
Package repository provides data access repositories for domain entities.
Package repository provides data access repositories for domain entities.
memory
Package memory provides in-memory repository implementations for testing.
Package memory provides in-memory repository implementations for testing.
runner
tasks
Package tasks provides background task implementations for the runner.
Package tasks provides background task implementations for the runner.
Package selfservice implements the public self-service account pages: forgotten-password reset for agents and customers, and customer self-registration with email verification.
Package selfservice implements the public self-service account pages: forgotten-password reset for agents and customers, and customer self-registration with email verification.
Package service provides business logic services.
Package service provides business logic services.
genericinterface
Package genericinterface provides the GenericInterface service for web service execution.
Package genericinterface provides the GenericInterface service for web service execution.
ticket_number
Package ticket_number provides ticket number generation strategies.
Package ticket_number provides ticket number generation strategies.
acl
Package acl provides the ACL (Access Control List) execution engine.
Package acl provides the ACL (Access Control List) execution engine.
escalation
Package escalation keeps the OTRS ticket escalation index (ticket.escalation_* columns) up to date and raises the OTRS escalation events.
Package escalation keeps the OTRS ticket escalation index (ticket.escalation_* columns) up to date and raises the OTRS escalation events.
genericagent
Package genericagent provides the Generic Agent execution engine.
Package genericagent provides the Generic Agent execution engine.
scheduler
Package scheduler provides task scheduling and job management.
Package scheduler provides task scheduling and job management.
ticket
Package ticket provides ticket domain models and business logic.
Package ticket provides ticket domain models and business logic.
ticketattributerelations
Package ticketattributerelations provides management of ticket attribute relationships.
Package ticketattributerelations provides management of ticket attribute relationships.
Package storage stores article attachments and raw (plain) emails, following OTRS/Znuny's Ticket::Article::Backend::MIMEBase::ArticleStorage semantics.
Package storage stores article attachments and raw (plain) emails, following OTRS/Znuny's Ticket::Article::Backend::MIMEBase::ArticleStorage semantics.
testing
Package testutil provides testing utilities and test environment setup.
Package testutil provides testing utilities and test environment setup.
Package ticketnumber provides ticket number generation implementations.
Package ticketnumber provides ticket number generation implementations.
Package ticketutil provides utility functions for ticket operations.
Package ticketutil provides utility functions for ticket operations.
Package webhooks defines the ticket and article events GoatFlow publishes to outbound webhooks and turns database changes into those events.
Package webhooks defines the ticket and article events GoatFlow publishes to outbound webhooks and turns database changes into those events.

Jump to

Keyboard shortcuts

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