package
Version:
v0.0.0-...-b412545
Opens a new window with list of versions in this module.
Published: Aug 31, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ReserveScooterRequestBody struct {
ScooterID string `json:"id"`
}
type Scooter struct {
ScooterID string `json:"scooterID"`
Status string `json:"status"`
LastUpdate string `json:"lastStatus"`
Location Location `json:"location"`
}
type ScooterScearchResult struct {
Scooters []Scooter `json:"scooters"`
}
type UpdateScooterRequestBody struct {
ScooterID string `json:"scooterID"`
Timestamp string `json:"timestamp"`
Latitude string `json:"latitude"`
Longitude string `json:"longitude"`
EventType string `json:"eventType"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.