Files
web/analytics/geo.go
T
gamertan 3a4b6db9b8
verify / verify (push) Successful in 2m55s
feat: publish Gamertan Web Foundations preview source
Export the reviewed application-neutral package set through the exact public allowlist. Development history and private application evidence remain outside this canonical source root.

Developed with material AI assistance under maintainer review.

Signed-off-by: Cole Speelman <crspeelman@gmail.com>
2026-08-16 15:05:40 -04:00

17 lines
487 B
Go

// SPDX-License-Identifier: MPL-2.0
package analytics
import "context"
// GeoEnricher is deliberately optional. Implementations may use a private local
// database; the base analytics package performs no network lookup.
type GeoEnricher interface {
Lookup(context.Context, string) (GeoEvidence, error)
}
type GeoEvidence struct {
CountryCode, Region, City, ASNOrganization string
ASN uint
Source, Confidence string
}