Directories ¶
Path | Synopsis |
---|---|
Package admin contains the implementation of the Transiter admin API.
|
Package admin contains the implementation of the Transiter admin API. |
Package argsflag defines a flag that can accept template arguments.
|
Package argsflag defines a flag that can accept template arguments. |
Package client is a client library for interacting with a Transiter server.
|
Package client is a client library for interacting with a Transiter server. |
table
Package table contains a utility for printing tables on the command line.
|
Package table contains a utility for printing tables on the command line. |
Package convert contains type converters.
|
Package convert contains type converters. |
db
|
|
constants
Package constants contains the canonical string values for constants that are persisted in the database.
|
Package constants contains the canonical string values for constants that are persisted in the database. |
dbtesting
Package dbtesting is a testing util package for running unit tests against a running database.
|
Package dbtesting is a testing util package for running unit tests against a running database. |
dbwrappers
Package dbwrappers contains methods that wrap the raw methods generated by sqlc and provide a nicer API.
|
Package dbwrappers contains methods that wrap the raw methods generated by sqlc and provide a nicer API. |
gen
|
|
api
Package api is a reverse proxy.
|
Package api is a reverse proxy. |
Package graph contains type definitions for graphs and algorithms that operate on them.
|
Package graph contains type definitions for graphs and algorithms that operate on them. |
Package monitoring contains methods for recording metrics and reporting them through a HTTP handler
|
Package monitoring contains methods for recording metrics and reporting them through a HTTP handler |
Package public contains the implementation of the Transiter public API.
|
Package public contains the implementation of the Transiter public API. |
endpoints
Package endpoints contains the logic for each public API endpoint.
|
Package endpoints contains the logic for each public API endpoint. |
errors
Package errors contains logic for making errors user-friendly at the API boundary.
|
Package errors contains logic for making errors user-friendly at the API boundary. |
reference
Package reference contains constructors for public API reference types.
|
Package reference contains constructors for public API reference types. |
Package scheduler contains the periodic feed update scheduler.
|
Package scheduler contains the periodic feed update scheduler. |
ticker
Package ticker implements tickers for the scheduler.
|
Package ticker implements tickers for the scheduler. |
Package server implements the Transiter server process.
|
Package server implements the Transiter server process. |
Package servicemaps contains all of the logic for Transiter's service maps features.
|
Package servicemaps contains all of the logic for Transiter's service maps features. |
Package update implements the feed update mechanism.
|
Package update implements the feed update mechanism. |
common
Package common contains types used by all update code.
|
Package common contains types used by all update code. |
nyctsubwaycsv
Package nyctsubwaycsv contains logic for updating the stop headsign rules from the NYCT CSV file.
|
Package nyctsubwaycsv contains logic for updating the stop headsign rules from the NYCT CSV file. |
realtime
Package realtime contains the code for updating the database from a GTFS realtime feed.
|
Package realtime contains the code for updating the database from a GTFS realtime feed. |
static
Package static contains the code for updating the database from a GTFS static feed.
|
Package static contains the code for updating the database from a GTFS static feed. |
Package version contains the Transiter version and related information
|
Package version contains the Transiter version and related information |
Click to show internal directories.
Click to hide internal directories.