Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
mlsgrid-sync
command
|
|
|
internal
|
|
|
cli
Package cli defines the mlsgrid-sync command tree.
|
Package cli defines the mlsgrid-sync command tree. |
|
config
Package config loads and validates mlsgrid-sync configuration from a YAML file with MLSGRID_-prefixed environment overrides.
|
Package config loads and validates mlsgrid-sync configuration from a YAML file with MLSGRID_-prefixed environment overrides. |
|
engine
Package engine orchestrates replication: it drives the mlsgrid Pager against the store, owning cursor semantics (backfill here; incremental sync and reconcile arrive in later milestones).
|
Package engine orchestrates replication: it drives the mlsgrid Pager against the store, owning cursor semantics (backfill here; incremental sync and reconcile arrive in later milestones). |
|
fieldscope
Package fieldscope handles per-MLS field-name normalization and (from M8) field-scope presets.
|
Package fieldscope handles per-MLS field-name normalization and (from M8) field-scope presets. |
|
media
Package media downloads listing photos queued by the sync engine (storage_status='pending') into a local-disk or S3-compatible sink.
|
Package media downloads listing photos queued by the sync engine (storage_status='pending') into a local-disk or S3-compatible sink. |
|
mlsgrid
Package mlsgrid implements a client for the MLS Grid API (RESO Web API / OData v4): request/paging mechanics, quirk-tolerant record decoding, and retry orchestration against the rate limiter.
|
Package mlsgrid implements a client for the MLS Grid API (RESO Web API / OData v4): request/paging mechanics, quirk-tolerant record decoding, and retry orchestration against the rate limiter. |
|
ratelimit
Package ratelimit enforces the MLS Grid usage limits client-side: a per-second token bucket, hourly/daily request windows and an hourly byte budget aligned to UTC wall-clock boundaries, and a circuit breaker that halts the process rather than hammering a suspended token.
|
Package ratelimit enforces the MLS Grid usage limits client-side: a per-second token bucket, hourly/daily request windows and an hourly byte budget aligned to UTC wall-clock boundaries, and a circuit breaker that halts the process rather than hammering a suspended token. |
|
store
Package store defines the persistence interface the sync engine writes through.
|
Package store defines the persistence interface the sync engine writes through. |
|
store/postgres
Package postgres implements store.Store on PostgreSQL via pgx/v5.
|
Package postgres implements store.Store on PostgreSQL via pgx/v5. |
|
testclock
Package testclock provides a deterministic Clock for tests: Sleep advances virtual time instantly and records every requested duration.
|
Package testclock provides a deterministic Clock for tests: Sleep advances virtual time instantly and records every requested duration. |
Click to show internal directories.
Click to hide internal directories.