services

package
v0.0.0-...-74acfa6 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFavourite

func DeleteFavourite(conn *sql.DB, id string) error

func DeleteFeed

func DeleteFeed(conn *sql.DB, id int) error

func DeleteReadLater

func DeleteReadLater(conn *sql.DB, id string) error

func GetArticleName

func GetArticleName(id string) (string, error)

func GetArticles

func GetArticles(conn *sql.DB, page int, limit int) (schema.PaginationResponse, error)

func GetArticlesByFeedId

func GetArticlesByFeedId(conn *sql.DB, page int, limit int, id int) (schema.PaginationResponse, error)

func GetFavourites

func GetFavourites(conn *sql.DB, page int, limit int) (schema.PaginationResponse, error)

func GetFeeds

func GetFeeds(conn *sql.DB) ([]schema.RssFeed, error)

func GetFeedsOpml

func GetFeedsOpml(conn *sql.DB) ([]byte, error)

func GetReadLater

func GetReadLater(conn *sql.DB, page int, limit int) (schema.PaginationResponse, error)

func InsertArticles

func InsertArticles(conn *sql.DB, articles []schema.RssItem, feedID int64) error

func PostFavourite

func PostFavourite(conn *sql.DB, id string) error

func PostFeed

func PostFeed(conn *sql.DB, postBody schema.RssPostBody) error

func PostFeedOpml

func PostFeedOpml(conn *sql.DB, opmlData []byte) error

func PostReadLater

func PostReadLater(conn *sql.DB, id string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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