rss

package
v0.0.0-...-da5536d Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package rss -

Index

Constants

This section is empty.

Variables

View Source
var ErrNoStore = errors.New("no store supplied cannot continue")
View Source
var ErrNoURL = errors.New("no urls supplied cannot continue")

Functions

func NewWatched

func NewWatched(store Storage, urls ...string) (*watched, error)

NewWatched - create a new watched instance.

Types

type Storage

type Storage interface {
	CheckExists(feed, title string) (bool, error)
	CreateItem(feed, title, content, link string) error
}

Storage - API for storing rss data.

Directories

Path Synopsis
repository
postgres
Package postgresstore -
Package postgresstore -

Jump to

Keyboard shortcuts

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