Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPollerRange ¶
TODO Test, also how range should be based on time.
Types ¶
type GetStationResp ¶
type GetStationResp struct {
Address address `json:"address"`
LineCodes []metro.LineCode `json:"line_codes"`
StationCode string `json:"station_code"`
Name string `json:"name"`
Schedule []StationSchedule `json:"schedule"`
}
type ListStationResp ¶
type ListStationResp struct {
Stations []GetStationResp `json:"stations"`
}
type StationModel ¶
type StationModel struct {
Code string `dynamodbav:"code"`
City string `dynamodbav:"city"`
State string `dynamodbav:"state"`
Street string `dynamodbav:"street"`
Zip string `dynamodbav:"zip"`
Latitude float32 `dynamodbav:"latitude"`
Longitude float32 `dynamodbav:"longitude"`
Name string `dynamodbav:"name"`
LineCodes []metro.LineCode `dynamodbav:"lineCodes"`
StationSchedule []StationSchedule `dynamodbav:"stationSchedule"`
Destinations []string `dynamodbav:"destinations"`
}
func GetDestinationStations ¶
func ListStations ¶
type StationSchedule ¶
Click to show internal directories.
Click to hide internal directories.