Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvgFuelConsumption ¶
AvgFuelConsumption (autogenerated type)
type CarUnit ¶
type CarUnit struct { UnitID int64 `json:"unit_id"` BoxID int64 `json:"box_id"` CompanyID int64 `json:"company_id"` CountryCode string `json:"country_code"` Label string `json:"label"` Number string `json:"number"` Shortcut string `json:"shortcut"` VehicleTitle interface{} `json:"vehicle_title"` CarRegCertificate string `json:"car_reg_certificate"` Vin string `json:"vin"` Type string `json:"type"` Icon string `json:"icon"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` Direction int64 `json:"direction"` Speed interface{} `json:"speed"` Mileage int64 `json:"mileage"` LastUpdate string `json:"last_update"` IgnitionTotalTime int64 `json:"ignition_total_time"` State State `json:"state"` MovementState State `json:"movement_state"` FuelType string `json:"fuel_type"` AvgFuelConsumption AvgFuelConsumption `json:"avg_fuel_consumption"` CreatedAt string `json:"created_at"` }
CarUnit (autogenerated type)
type MaponError ¶
type MaponError struct { Err struct { Code int `json:"code"` Msg string `json:"msg"` } `json:"error"` }
MaponError represents a Mapon Error Response.
type Point ¶
type Point struct { Time time.Time `json:"time"` Address *string `json:"address,omitempty"` Lat *float64 `json:"lat,omitempty"` Lng *float64 `json:"lng,omitempty"` }
Point (autogenerated type)
type RouteData ¶
type RouteData struct {
Units []*RouteUnit `json:"units"`
}
RouteData (autogenerated type)
type RouteElement ¶
type RouteElement struct { Type UnitType `json:"type"` RouteID int64 `json:"route_id"` Start Point `json:"start"` End *Point `json:"end,omitempty"` AvgSpeed *int64 `json:"avg_speed,omitempty"` MaxSpeed *int64 `json:"max_speed,omitempty"` Distance *int64 `json:"distance,omitempty"` }
RouteElement (autogenerated type)
type RouteUnit ¶
type RouteUnit struct { UnitID int64 `json:"unit_id"` Routes []*RouteElement `json:"routes"` }
RouteUnit (autogenerated type)
type State ¶
type State struct { Name string `json:"name"` Start string `json:"start"` Duration int64 `json:"duration"` DebugInfo *DebugInfo `json:"debug_info,omitempty"` }
State (autogenerated type)
Click to show internal directories.
Click to hide internal directories.