Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScheduleDeparture ¶
type ScheduleDeparture struct { StopSIDU string `db:"stop_sidu" json:"stop_sidu"` RouteShortName *string `db:"route_short_name" json:"route_short_name,omitempty"` RouteLongName *string `db:"route_long_name" json:"route_long_name,omitempty"` TripHeadsign *string `db:"trip_headsign" json:"trip_headsign,omitempty"` DepartureTime *time.Time `db:"departure_time" json:"departure_time"` }
type ScheduleParams ¶
type ScheduleResponse ¶
type ScheduleResponse struct {
Schedule *[]ScheduleDeparture `json:"schedule,omitempty"`
}
func RTSchedule ¶
func RTSchedule(runtime *apirtinit.MobrouteRuntime, params *ScheduleParams) (*ScheduleResponse, error)
Click to show internal directories.
Click to hide internal directories.