Back to godoc.org
github.com/urandom/readeef/feed

package feed

v0.0.0 (ac301c9)
Latest Go to latest
Published: Feb 14, 2020 | License: LGPL-3.0 | Module: github.com/urandom/readeef

Index

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
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier