Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnouncementScraper ¶
type AnnouncementScraper interface { Scraper Init(log *log.Logger, newAnnouncementReporter func(announcement *types.Announcement)) Networks() []*types.Network Sources() []string Announcements(source string) []*types.Announcement }
AnnouncementScraper runs in the background retrieving announcements about a network.
type ETAScraper ¶
ETAScraper is something that runs in the background retrieving vehicle ETAs
type StatusScraper ¶
type StatusScraper interface { Scraper Init(node sqalx.Node, log *log.Logger) Networks() []*types.Network Lines() []*types.Line LastUpdate() time.Time }
StatusScraper is something that runs in the background retrieving status of lines StatusScrapers can report duplicate states to the statusReporter
Click to show internal directories.
Click to hide internal directories.