Initial cloud-services repo - gateway service + pkg modules

This commit is contained in:
Chris Rai
2026-01-30 23:14:52 -05:00
commit fbb820d7b3
1037 changed files with 171318 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
package common
type PointOfInterest struct {
Name string `json:"name"`
Location POILocation `json:"location"`
}
type POILocation struct {
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
}
type MobilePOIEditMessage struct {
OldName string `json:"old_name"`
UserPOI PointOfInterest `json:"user_poi"`
}
type MobilePOIDeleteMessage struct {
Name string `json:"name"`
}
type MobilePOIsMessage struct {
UserPOI []PointOfInterest `json:"user_pois"`
}
type HMIPOIRequestMessage struct {
DriverID string `json:"driver_id"`
}
type HMIPOIMessage struct {
DriverID string `json:"driver_id"`
UserPOI PointOfInterest `json:"user_poi"`
}
type HMIPOIEditMessage struct {
DriverID string `json:"driver_id"`
OldName string `json:"old_name"`
UserPOI PointOfInterest `json:"user_poi"`
}
type HMIPOIDeleteMessage struct {
DriverID string `json:"driver_id"`
Name string `json:"name"`
}
type HMIPOIsMessage struct {
DriverID string `json:"driver_id"`
UserPOIs []PointOfInterest `json:"user_pois"`
}