Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdministrativeDistricts ¶
type AdministrativeDistricts struct {
// contains filtered or unexported fields
}
func NewAdministrativeDistricts ¶
func NewAdministrativeDistricts(db *postgres.Database) *AdministrativeDistricts
func (*AdministrativeDistricts) Run ¶
func (a *AdministrativeDistricts) Run()
type BikeLanes ¶
type BikeLanes struct {
// contains filtered or unexported fields
}
func NewBikeLanes ¶
type Boroughs ¶
type Boroughs struct {
// contains filtered or unexported fields
}
func NewBoroughs ¶
type FreeFloatingBikes ¶
type FreeFloatingBikes struct {
// contains filtered or unexported fields
}
func NewFreeFloatingBikes ¶
func NewFreeFloatingBikes(db *postgres.Database) *FreeFloatingBikes
func (*FreeFloatingBikes) Run ¶
func (f *FreeFloatingBikes) Run()
func (*FreeFloatingBikes) UpdateFreeFloatingBikes ¶
func (f *FreeFloatingBikes) UpdateFreeFloatingBikes(ctx context.Context) error
type FreeFloatingBikesResponse ¶
type FreeFloatingBikesResponse struct { LastUpdated int `json:"last_updated"` Ttl int `json:"ttl"` Version string `json:"version"` Data struct { Bikes []domain.FreeFloatingBike `json:"bikes"` } `json:"data"` }
type StationInformationResponse ¶
type StationInformationResponse struct { Data struct { StationsInformation []domain.StationInformation `json:"stations"` } `json:"data"` LastUpdatedOther int64 `json:"lastUpdatedOther"` TTL int64 `json:"ttl"` }
type StationStatusResponse ¶
type StationStatusResponse struct { Data struct { StationsStatuses []domain.StationStatus `json:"stations"` } `json:"data"` LastUpdatedOther int64 `json:"lastUpdatedOther"` TTL int64 `json:"ttl"` }
type Stations ¶
type Stations struct {
// contains filtered or unexported fields
}
func NewStations ¶
Click to show internal directories.
Click to hide internal directories.