feed

package
v0.0.0-...-95c851e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2024 License: LGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Favicon

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

Types

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL