Documentation
¶
Overview ¶
Package tl provides the core types and utility functions for transitland-lib.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GBFS_SCHEMA_VERSION = "v2.3"
GBFS_SCHEMA_VERSION is the version of the GBFS JSON schema.
View Source
var GTFSRTVERSION = "7b9f229dfa0b539c3fcf461986638890024feb06"
GTFSRTVERSION is the commit for the gtfs-realtime.proto file.
View Source
var GTFSVERSION = "e62ea02efd8987cd6a5eaf8438de7feef9303857"
GTFSVERSION is the commit for the spec reference.md file.
Functions ¶
This section is empty.
Types ¶
type VersionInfo ¶
var Version VersionInfo
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
transitland
command
|
|
|
Package cmds provides CLI tools for running various actions
|
Package cmds provides CLI tools for running various actions |
|
Package copier provides tools and utilities for copying and modifying GTFS feeds.
|
Package copier provides tools and utilities for copying and modifying GTFS feeds. |
|
Package coster calculates journey fares from GTFS Fares v2 data.
|
Package coster calculates journey fares from GTFS Fares v2 data. |
|
Package diff provides tools and utilities for comparing GTFS feeds.
|
Package diff provides tools and utilities for comparing GTFS feeds. |
|
Package dmfr provides tool and utilities for working with DMFR files and database representations of feeds and feed versions.
|
Package dmfr provides tool and utilities for working with DMFR files and database representations of feeds and feed versions. |
|
doc
|
|
|
cli
command
|
|
|
openapi
command
|
|
|
bestpractices
Package bestpractices provides GTFS best practice validation rules (Level 1 warnings).
|
Package bestpractices provides GTFS best practice validation rules (Level 1 warnings). |
|
filters
Package filters provides tools for modifying and transforming streams of GTFS entities.
|
Package filters provides tools for modifying and transforming streams of GTFS entities. |
|
todo
Package todo contains unimplemented GTFS validation rules.
|
Package todo contains unimplemented GTFS validation rules. |
|
Package extract provides tools and utilities for extracting subsets of GTFS feeds.
|
Package extract provides tools and utilities for extracting subsets of GTFS feeds. |
|
Package feedmanager defines the bookkeeping the import and fetch flows need beyond the Copier's entity writes (adapters.Writer): feed-version dedup/creation, the feed_version_gtfs_import lifecycle, and activation.
|
Package feedmanager defines the bookkeeping the import and fetch flows need beyond the Copier's entity writes (adapters.Writer): feed-version dedup/creation, the feed_version_gtfs_import lifecycle, and activation. |
|
internal
|
|
|
set
Package set provides a minimal generic set.
|
Package set provides a minimal generic set. |
|
testreadme
command
|
|
|
Package rt provides support for GTFS-RealTime.
|
Package rt provides support for GTFS-RealTime. |
|
Package rules provides a number of GTFS validation rules and examples.
|
Package rules provides a number of GTFS validation rules and examples. |
|
schema
|
|
|
server
|
|
|
auth/adminapi
Package adminapi exposes the authz admin HTTP API behind a generic Server interface so any AdminManager+EntityProvider can back it.
|
Package adminapi exposes the authz admin HTTP API behind a generic Server interface so any AdminManager+EntityProvider can back it. |
|
auth/mw/enrich
Package enrich provides an HTTP middleware that runs a context-enriching step after the bare user has been stamped in (by JWT/header/etc.) and before downstream handlers run.
|
Package enrich provides an HTTP middleware that runs a context-enriching step after the bare user has been stamped in (by JWT/header/etc.) and before downstream handlers run. |
|
caches/kvcache
Package kvcache provides a generic two-tier cache: a per-process local tier in front of a shared Store such as Redis.
|
Package kvcache provides a generic two-tier cache: a per-process local tier in front of a shared Store such as Redis. |
|
caches/kvcache/storetest
Package storetest provides a conformance suite for kvcache.Store implementations.
|
Package storetest provides a conformance suite for kvcache.Store implementations. |
|
finders/artifactstore
Package artifactstore persists job artifacts (a blob in request.Store plus a tl_job_artifacts row).
|
Package artifactstore persists job artifacts (a blob in request.Store plus a tl_job_artifacts row). |
|
gql/gqltest
Package gqltest runs GraphQL resolver test cases against any model.Finder loaded with the server test feeds.
|
Package gqltest runs GraphQL resolver test cases against any model.Finder loaded with the server test feeds. |
|
gql/internal/gqlcase
Package gqlcase defines GraphQL resolver test cases, and runs them against a client.
|
Package gqlcase defines GraphQL resolver test cases, and runs them against a client. |
|
rest/oatype
Package oatype builds OpenAPI schemas for GraphQL types.
|
Package oatype builds OpenAPI schemas for GraphQL types. |
|
workers
Package workers provides reference job workers for the standalone server.
|
Package workers provides reference job workers for the standalone server. |
|
This package is for compound entities, e.g.
|
This package is for compound entities, e.g. |
|
Package tlcli provides helper utilities for command line programs.
|
Package tlcli provides helper utilities for command line programs. |
|
Package tlcsv provides adapters to read and write GTFS from CSV format files.
|
Package tlcsv provides adapters to read and write GTFS from CSV format files. |
|
Package tlxy provides spatial indexing for polygons.
|
Package tlxy provides spatial indexing for polygons. |
|
Package validator provides GTFS and GTFS-RT validation utilities.
|
Package validator provides GTFS and GTFS-RT validation utilities. |
Click to show internal directories.
Click to hide internal directories.