diff options
| author | s <[email protected]> | 2025-11-03 21:17:12 -0500 |
|---|---|---|
| committer | s <[email protected]> | 2025-11-03 21:17:12 -0500 |
| commit | 923d6aece0b508c303393b23e8f605d63f46835f (patch) | |
| tree | 65b629c84a20d9cb1f34ba16797dbbe8861a7a91 /internal/models/osint.go | |
| download | dborg-923d6aece0b508c303393b23e8f605d63f46835f.tar.gz dborg-923d6aece0b508c303393b23e8f605d63f46835f.zip | |
hi
Diffstat (limited to 'internal/models/osint.go')
| -rw-r--r-- | internal/models/osint.go | 29 |
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"` +} |
