reader

package
v0.0.0-...-c8b2685 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package reader implements the periodic updates of RSS feeds.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	StopQ chan int
	// contains filtered or unexported fields
}

Reader regularly checks the subscribed Feeds and stores any new Items in the database.

func New

func New(q chan<- string) (*Reader, error)

New creates a new Reader.

func (*Reader) Active

func (r *Reader) Active() bool

Active returns true if the Reader is still active.

func (*Reader) Loop

func (r *Reader) Loop() error

Loop implements the Reader's main loop.

func (*Reader) Start

func (r *Reader) Start()

Start sets the Reader to active and starts its main loop.

func (*Reader) Stop

func (r *Reader) Stop()

Stop tells the Reader to stop.

Jump to

Keyboard shortcuts

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