Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
26
pkg/common/maps_history.go
Normal file
26
pkg/common/maps_history.go
Normal file
@@ -0,0 +1,26 @@
|
||||
package common
|
||||
|
||||
type MapHistory struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Location *MapCoordinates `json:"location,omitempty"`
|
||||
}
|
||||
|
||||
type MapHistoryAdd struct {
|
||||
VIN string `json:"vin"`
|
||||
MapHistory MapHistory `json:"map_history"`
|
||||
}
|
||||
|
||||
type HMIMapHistoryGet struct {
|
||||
DriverID string `json:"driver_id"`
|
||||
}
|
||||
|
||||
type HMIMapHistoryAdd struct {
|
||||
DriverID string `json:"driver_id"`
|
||||
Search MapHistory `json:"search"`
|
||||
}
|
||||
|
||||
type HMIMapHistory struct {
|
||||
DriverID string `json:"driver_id"`
|
||||
Searches []MapHistory `json:"searches"`
|
||||
}
|
||||
Reference in New Issue
Block a user