Documentation
¶
Overview ¶
Example: Real-time price monitor with webhook notifications
Demonstrates how to build a continuous price monitoring loop that:
- Sends price alerts via a webhook when prices change
- Deduplicates items by SKU so each product is only reported once per run
- Uses a Transform pipeline stage to compute price changes
- Shows the concept of periodic re-scraping using a ticker loop
This example targets books.toscrape.com as a safe public sandbox. In production you would substitute real product URLs and a real webhook endpoint (e.g., Slack, PagerDuty, or your own alerting service).
Run:
go run ./examples/realtime/
Click to show internal directories.
Click to hide internal directories.