Expand description
Port trait definitions - service abstractions
Defines interfaces that adapters must implement:
ScrapingService: HTTP fetchers, browser automationAIProvider: LLM extraction servicesCachePort: Caching abstractionsCircuitBreaker: 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
GraphQlTargetPluginport — 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§
- Graph
QlAuth - Authentication strategy for a GraphQL request.
- Provider
Capabilities - Provider capability flags
- Rate
Limit Config - Rate limit configuration
- Service
Input - Input to a scraping service
- Service
Output - Output from a scraping service
Enums§
- Circuit
State - Circuit breaker state
- Graph
QlAuth Kind - Discriminant for
GraphQlAuth
Traits§
- AIProvider
- AI Provider port for LLM-based extraction
- Cache
Port - Cache port for storing/retrieving data with idempotency key support
- Circuit
Breaker - Circuit breaker port for resilience
- Rate
Limiter - Rate limiter port
- Scraping
Service - Primary port:
ScrapingServicetrait