package
0.0.0-20180711181756-2374f08357b8
Repository: https://github.com/jaffee/pdk.git
Documentation: pkg.go.dev
# Functions
NewSource creates a pdk.Source for CSV data.
WithConcurrency returns an Option which sets the number of goroutines fetching files simultaneously.
WithMaxRetries returns an Option which sets the max number of retries per file on a Source.
WithOpenStringers returns an Option which adds the slice of OpenStringers to the set of data sources a Source will read from.
WithURLs returns an Option which adds the slice of URLs to the set of data sources a Source will read from.
# Interfaces
Opener is an interface to a resource which can be repeatedly Opened (and the returned ReadCloser can be subsequently read).
OpenStringer is an Opener which also has a String method which should return the name of the resource being opened (e.g.
# Type aliases
Option is a functional option to pass to NewSource.