Documentation ¶
Index ¶
Constants ¶
View Source
const ( UrlApi = "https://cms.velocity-aachen.de/backend/app" UrlStations = UrlApi + "/stations" UrlStation = UrlApi + "/stations/{station_id}" UrlStationSlots = UrlApi + "/stations/{station_id}/slots/full" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PedelecInfo ¶
type Station ¶
type Station struct { StationID int `json:"stationId"` Name string `json:"name"` LocationLatitude float64 `json:"locationLatitude"` LocationLongitude float64 `json:"locationLongitude"` State string `json:"state"` Note string `json:"note"` NumFreeSlots int `json:"numFreeSlots"` NumAllSlots int `json:"numAllSlots"` Image interface{} `json:"image"` }
type StationSlot ¶
type StationSlots ¶
type StationSlots struct {
StationSlots []StationSlot `json:"stationSlots"`
}
Click to show internal directories.
Click to hide internal directories.