feed

package
v0.0.0-...-9d48049 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func NewDB

func NewDB(client *sql.DB) *DB

func (*DB) AddFeed

func (r *DB) AddFeed(f *feed.Feed) (int, error)

func (*DB) DeleteFeed

func (r *DB) DeleteFeed(id int) error

func (*DB) GetFeed

func (r *DB) GetFeed(id int) (*feed.Feed, error)

func (*DB) ListFeeds

func (r *DB) ListFeeds() ([]*feed.Feed, error)

Jump to

Keyboard shortcuts

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