Back to godoc.org

Package feed

v0.0.0-...-ffd16d0
Latest Go to latest

The latest major version is .

Published: Jul 8, 2020 | License: LGPL-3.0 | Module: github.com/urandom/readeef

Index

func Favicon

func Favicon(site string) ([]byte, string, error)
func Search(query string, log log.Log) (map[string]parser.Feed, error)

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

func NewScheduler

func NewScheduler(log log.Log) Scheduler

func (Scheduler) ScheduleFeed

func (s Scheduler) ScheduleFeed(ctx context.Context, feed content.Feed, update time.Duration) <-chan UpdateData

func (Scheduler) Start

func (s Scheduler) Start(ctx context.Context)

type UpdateData

type UpdateData struct {
	Feed parser.Feed
	// contains filtered or unexported fields
}

func (UpdateData) Error

func (u UpdateData) Error() string

func (UpdateData) IsErr

func (u UpdateData) IsErr() bool

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier