Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arrival ¶
type Arrival struct {
Line string
Destination string
Urban bool
ToArrival string // Minutes missing before the bus arrives
TimetableTime time.Time // The time of arrival, as written on the timetable
RealTime time.Time // The real time of arrival, including delays
}
Arrival represents an arrival at our stop.
type ArrivalsService ¶
ArrivalsService is a service which can fetch the bus arrival times of a certain stop.
Click to show internal directories.
Click to hide internal directories.