Documentation ¶
Index ¶
- Constants
- type BikeLanes
- type BikeLanesScraper
- func (s *BikeLanesScraper) Configure(pool *pgxpool.Pool) (err error)
- func (s *BikeLanesScraper) EnqueueJobs() ([]infra.Job, error)
- func (s *BikeLanesScraper) HandleResponse(j infra.Job, resp *http.Response, httpErr error) (*infra.Job, error)
- func (s *BikeLanesScraper) MakeRequest(j infra.Job) (*http.Request, error)
- type Repo
Constants ¶
View Source
const ( ScraperName = "BIKE-LANES" BikeLanesURL = "https://data.nola.gov/api/geospatial/8npz-j6vy?method=export&format=GeoJSON" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BikeLanes ¶
type BikeLanes struct {
Features *geojson.FeatureCollection
}
func ParseBikeLanes ¶
type BikeLanesScraper ¶
type BikeLanesScraper struct {
// contains filtered or unexported fields
}
func NewScraper ¶
func NewScraper() *BikeLanesScraper
func (*BikeLanesScraper) Configure ¶
func (s *BikeLanesScraper) Configure(pool *pgxpool.Pool) (err error)
func (*BikeLanesScraper) EnqueueJobs ¶
func (s *BikeLanesScraper) EnqueueJobs() ([]infra.Job, error)
func (*BikeLanesScraper) HandleResponse ¶
func (*BikeLanesScraper) MakeRequest ¶
Click to show internal directories.
Click to hide internal directories.