summaryrefslogtreecommitdiffstats
path: root/internal/models/osint.go
diff options
context:
space:
mode:
authors <[email protected]>2025-11-03 21:17:12 -0500
committers <[email protected]>2025-11-03 21:17:12 -0500
commitf7fcfa623e670dc533bb378912829c73a3593e63 (patch)
tree910119ff7293b407affa9ff34706d627d77a3a04 /internal/models/osint.go
downloaddborg-f7fcfa623e670dc533bb378912829c73a3593e63.tar.gz
dborg-f7fcfa623e670dc533bb378912829c73a3593e63.zip
hi
Diffstat (limited to 'internal/models/osint.go')
-rw-r--r--internal/models/osint.go29
1 files changed, 29 insertions, 0 deletions
diff --git a/internal/models/osint.go b/internal/models/osint.go
new file mode 100644
index 0000000..7170c27
--- /dev/null
+++ b/internal/models/osint.go
@@ -0,0 +1,29 @@
+package models
+
+type BSSIDParams struct {
+ BSSID string
+ All bool
+ Map bool
+}
+
+type LocationInfo struct {
+ Latitude float64 `json:"latitude"`
+ Longitude float64 `json:"longitude"`
+ Accuracy int `json:"accuracy"`
+}
+
+type BSSIDResult struct {
+ BSSID string `json:"bssid"`
+ Location *LocationInfo `json:"location"`
+ MapURL string `json:"map_url,omitempty"`
+}
+
+type BSSIDLookupResponse struct {
+ BSSID string `json:"bssid"`
+ Results []BSSIDResult `json:"results"`
+ MapURL string `json:"map_url,omitempty"`
+}
+
+type ErrorResponse struct {
+ Error string `json:"error"`
+}