Files
meshcore-analyzer/cmd/server/go.mod
T
efiten 1cd5ce873a refactor(pr215): address important review items
- Extract shared geofilter Go module (internal/geofilter/) with Config
  struct and geometry functions (PointInPolygon, DistToSegmentKm,
  PassesFilter) — eliminates duplication between server and ingestor
- Replace GeoFilterConfig struct in both config.go files with a type
  alias pointing to geofilter.Config
- Slim geo_filter.go in both packages to delegate to shared module
- Add --geo-filter-color CSS variable to style.css; use it in map.js
  and live.js overlay code instead of hardcoded #3b82f6
- Update prune-nodes-outside-geo-filter.py to read polygon/bufferKm
  from config.json (--config flag, default /app/config.json) instead
  of having deployment-specific coordinates hardcoded in the script

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 09:31:28 -07:00

25 lines
718 B
Modula-2

module github.com/corescope/server
go 1.22
require (
github.com/gorilla/mux v1.8.1
github.com/gorilla/websocket v1.5.3
github.com/meshcore-analyzer/geofilter v0.0.0
modernc.org/sqlite v1.34.5
)
replace github.com/meshcore-analyzer/geofilter => ../../internal/geofilter
require (
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
golang.org/x/sys v0.22.0 // indirect
modernc.org/libc v1.55.3 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.8.0 // indirect
)