Module ports

Module ports 

Source
Expand description

Port trait definitions - service abstractions

Defines interfaces that adapters must implement:

  • ScrapingService: HTTP fetchers, browser automation
  • AIProvider: LLM extraction services
  • CachePort: Caching abstractions
  • CircuitBreaker: Resilience patterns Port trait definitions - service abstractions

Defines interfaces that adapters must implement. Following hexagonal architecture, these are the “ports” that connect domain logic to external infrastructure.

Modules§

auth
Auth port — runtime token loading, expiry checking, and refresh. AuthPort — runtime token loading, expiry checking, and refresh.
graphql_plugin
GraphQL plugin sub-module GraphQlTargetPlugin port — one implementation per GraphQL API target.
signing
Signing port — attach HMAC, OAuth 1.0a, AWS Sig V4, or Frida RPC signatures to requests. SigningPort — request signing abstraction.
storage
Storage port — persist and retrieve pipeline results Storage port — persist and retrieve pipeline results.
wasm_plugin
WASM plugin port — dynamic plugin loading WASM plugin port — dynamic plugin system
work_queue
Work queue port — distributed task execution Work queue port — distributed task execution interface

Structs§

GraphQlAuth
Authentication strategy for a GraphQL request.
ProviderCapabilities
Provider capability flags
RateLimitConfig
Rate limit configuration
ServiceInput
Input to a scraping service
ServiceOutput
Output from a scraping service

Enums§

CircuitState
Circuit breaker state
GraphQlAuthKind
Discriminant for GraphQlAuth

Traits§

AIProvider
AI Provider port for LLM-based extraction
CachePort
Cache port for storing/retrieving data with idempotency key support
CircuitBreaker
Circuit breaker port for resilience
RateLimiter
Rate limiter port
ScrapingService
Primary port: ScrapingService trait