Vladimir Zagainov 6f69da0761 feat: implement cron job for station status detection
- Create cmd/cron/station_status.go with daily station status checking
- Implement schedule querying via Yandex API with rate limiting and circuit breaker
- Closure detection: N consecutive days of zero trips (N=3) → closed status
- Reactivation: active status when trips resume after being closed
- Add tests for cron logic: status transition, zero-flight detection, reactivation
- All tests pass: go test ./cmd/cron/ and go test ./...
2026-08-13 20:42:34 +03:00
2026-08-13 18:26:15 +03:00
Description
No description provided
23 MiB
Languages
Go 91.1%
JavaScript 4.9%
CSS 2.5%
HTML 1.1%
Dockerfile 0.4%