662285c8b5
Seitenaufrufe werden serverseitig pro (Tag, anonymisiertes Netz, Pfad) gezaehlt -- nur auf den HTML-Seiten-Routen, nicht auf API/Assets. Die Client-IP wird sofort maskiert (IPv4 /16, IPv6 /32); die vollstaendige IP wird nie gespeichert oder weiterverwendet. Optional loest eine lokale GeoLite2-ASN-DB (Env KVER_GEOIP_ASN) den Netzbetreiber aus dem bereits anonymisierten Netz auf -- auch dafuer wird nicht die volle IP herangezogen. Fehlt die DB, bleibt das Feld leer. Neuer Endpunkt GET /stats/detail liefert die Aggregate; die Tabelle impression speichert nur Zaehlwerte (kein Eventlog). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
27 lines
772 B
Modula-2
27 lines
772 B
Modula-2
module kver
|
|
|
|
go 1.25.0
|
|
|
|
require (
|
|
github.com/go-chi/chi/v5 v5.3.0
|
|
github.com/go-chi/httprate v0.15.0
|
|
github.com/oschwald/maxminddb-golang v1.13.1
|
|
golang.org/x/crypto v0.52.0
|
|
golang.org/x/image v0.41.0
|
|
modernc.org/sqlite v1.51.0
|
|
)
|
|
|
|
require (
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/zeebo/xxh3 v1.0.2 // indirect
|
|
golang.org/x/sys v0.45.0 // indirect
|
|
modernc.org/libc v1.72.3 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
)
|