Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Agenda ¶
type Agenda struct { Name string Content io.ReadCloser }
type DefaultFetcher ¶
type DefaultFetcher struct {
// contains filtered or unexported fields
}
func NewDefaultFetcher ¶
func NewDefaultFetcher(client HTTPClient, today time.Time) DefaultFetcher
func (DefaultFetcher) Simple ¶
func (f DefaultFetcher) Simple(ctx context.Context, site SimpleSite) (Agenda, error)
type Fetcher ¶
type Fetcher interface {
Simple(ctx context.Context, site SimpleSite) (Agenda, error)
}
type FinderError ¶
type FinderError struct {
// contains filtered or unexported fields
}
func (*FinderError) Filename ¶
func (e *FinderError) Filename() string
func (*FinderError) HTML ¶
func (e *FinderError) HTML() []byte
type SimpleSite ¶
type SimpleSite struct { Entity string BaseURL string OutExt string Finder func(*goquery.Document, time.Time) (string, error) }
func Bakersfield ¶
func Bakersfield() SimpleSite
func Fresno ¶
func Fresno() SimpleSite
func Oakland ¶
func Oakland() SimpleSite
func Pasadena ¶
func Pasadena() SimpleSite
func SanFrancisco ¶
func SanFrancisco() SimpleSite
Click to show internal directories.
Click to hide internal directories.