Documentation
¶
Index ¶
Constants ¶
View Source
const ( DataSetFormatNaPTAN DataSetFormat = "gb-naptan" DataSetFormatTransXChange = "gb-transxchange" DataSetFormatTravelineNOC = "gb-travelinenoc" DataSetFormatCIF = "gb-cif" DataSetFormatNationalRailTOC = "gb-nationalrailtoc" DataSetFormatNetworkRailCorpus = "gb-networkrailcorpus" DataSetFormatSiriVM = "eu-siri-vm" DataSetFormatSiriSX = "eu-siri-sx" DataSetFormatGTFSSchedule = "gtfs-schedule" DataSetFormatGTFSRealtime = "gtfs-realtime" )
View Source
const ( BundleFormatNone BundleFormat = "none" BundleFormatZIP = "zip" BundleFormatGZ = "gz" BundleFormatTarGZ = "tar.gz" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleFormat ¶
type BundleFormat string
type DataSet ¶
type DataSet struct { Identifier string DataSourceRef string `json:"-"` Format DataSetFormat Provider Provider Source string SourceAuthentication SourceAuthentication `json:"-"` DatasetSize string RefreshInterval time.Duration UnpackBundle BundleFormat `json:"-"` SupportedObjects SupportedObjects IgnoreObjects IgnoreObjects ImportDestination ImportDestination `json:"-"` CustomConfig map[string]string LinkedDataset string DownloadHandler func(*http.Request) `json:"-"` // Internal only Queue *rmq.Queue `json:"-"` }
type DataSetFormat ¶
type DataSetFormat string
type DataSource ¶
type IgnoreObjectServiceJourney ¶
type IgnoreObjectServiceJourney struct {
ByOperator []string
}
type IgnoreObjects ¶
type IgnoreObjects struct { // Operators bool // OperatorGroups bool // Stops bool // StopGroups bool Services IgnoreObjectServiceJourney Journeys IgnoreObjectServiceJourney }
type ImportDestination ¶
type ImportDestination string
const ( ImportDestinationDatabase ImportDestination = "database" ImportDestinationRealtimeQueue = "realtime-queue" )
type SourceAuthentication ¶
Click to show internal directories.
Click to hide internal directories.