realtime

command
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 20 Imported by: 0

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/

Jump to

Keyboard shortcuts

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