Documentation
¶
Overview ¶
NGnius 2020-01-23
NGnius 2020-01-23 ¶
NGnius 2020-01-23 ¶
NGnius 2020-01-23
Index ¶
- type API
- func (api *API) GTFS(table string, id int, column string, value string, order_by string, ...) (GTFS, error)
- func (api *API) GetNextTripsForStop(stopNo int, routeNo int) (NextTripsForStop, error)
- func (api *API) GetNextTripsForStopAllRoutes(stopNo int) (NextTripsForStopAllRoutes, error)
- func (api *API) GetRouteSummaryForStop(stopNo int, routeNo int) (RouteSummaryForStop, error)
- type AdvancedRoute
- type GTFS
- type NextTripsForStop
- type NextTripsForStopAllRoutes
- type Query
- type RouteDirection
- type RouteNo
- type RouteSummaryForStop
- type SimpleRoute
- type Trip
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
func (*API) GetNextTripsForStop ¶
func (api *API) GetNextTripsForStop(stopNo int, routeNo int) (NextTripsForStop, error)
func (*API) GetNextTripsForStopAllRoutes ¶
func (api *API) GetNextTripsForStopAllRoutes(stopNo int) (NextTripsForStopAllRoutes, error)
func (*API) GetRouteSummaryForStop ¶
func (api *API) GetRouteSummaryForStop(stopNo int, routeNo int) (RouteSummaryForStop, error)
type AdvancedRoute ¶
type NextTripsForStop ¶
type NextTripsForStop struct {
StopNo int
StopLabel string
Error string
Route RouteDirection
}
type NextTripsForStopAllRoutes ¶
type NextTripsForStopAllRoutes struct {
StopNo int
StopDescription string
Error string
Routes []AdvancedRoute
}
type RouteDirection ¶
type RouteNo ¶
func NewRouteNo ¶
type RouteSummaryForStop ¶
type RouteSummaryForStop struct {
StopNo int
StopDescription string
Error string
Routes []SimpleRoute
}
type SimpleRoute ¶
Click to show internal directories.
Click to hide internal directories.