Versions in this module Expand all Collapse all v1 v1.0.0 Mar 7, 2026 Changes in this version + type Complexity struct + EstimatedDuration time.Duration + PayloadSize int64 + TransformCount int + func NewComplexity(duration time.Duration, payloadSize int64, transformCount int) *Complexity + func (c *Complexity) IsCheap() bool + func (c *Complexity) IsExpensive() bool + func (c *Complexity) Level() ComplexityLevel + func (c *Complexity) String() string + type ComplexityLevel int + const ComplexityHigh + const ComplexityLow + const ComplexityMedium + const ComplexityVeryHigh + const ComplexityVeryLow + func (cl ComplexityLevel) String() string + type EnrichmentError struct + Message string + Source string + Wrapped error + func NewEnrichmentError(source, message string) *EnrichmentError + func (e *EnrichmentError) Error() string + func (e *EnrichmentError) Unwrap() error + type Status int + const StatusCancelled + const StatusFailed + const StatusPending + const StatusProcessing + const StatusSuccess + func (s Status) CanTransitionTo(target Status) bool + func (s Status) IsFinal() bool + func (s Status) IsTerminal() bool + func (s Status) IsValid() bool + func (s Status) String() string + type TransformConfig struct + CacheEnabled bool + CacheTTL time.Duration + CircuitBreakerOpen bool + MaxPayloadSize int64 + MaxTransformCount int + RetryAttempts int + Timeout time.Duration + func NewTransformConfig() *TransformConfig + func (c *TransformConfig) Clone() *TransformConfig + func (c *TransformConfig) Validate() error + func (c *TransformConfig) WithCacheDisabled() *TransformConfig + func (c *TransformConfig) WithCacheTTL(ttl time.Duration) *TransformConfig + func (c *TransformConfig) WithMaxPayloadSize(size int64) *TransformConfig + func (c *TransformConfig) WithMaxTransformCount(count int) *TransformConfig + func (c *TransformConfig) WithTimeout(timeout time.Duration) *TransformConfig + type TransformError struct + Message string + Wrapped error + func NewTransformError(message string) *TransformError + func WrapTransformError(err error, message string) *TransformError + func (e *TransformError) Error() string + func (e *TransformError) Unwrap() error + type ValidationError struct + Message string + func NewValidationError(message string) *ValidationError + func (e *ValidationError) Error() string