rsschannel

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(channels *sql.Rows, ret *[]*Schema) (err error)

Types

type Schema

type Schema struct {
	Id      int    `json:"id,omitempty"`
	RSSLink string `json:"rsslink,omitempty"`
	gofeed.Feed
}

type Table

type Table struct {
	Connection *sql.DB
}

func (*Table) Create

func (table *Table) Create(rssLink string) (err error)

func (*Table) Get

func (table *Table) Get(channels *[]*Schema) (err error)
func (table *Table) GetLinks(channels *[]*Schema) (err error)

func (*Table) GetWithItems

func (table *Table) GetWithItems(channels *[]*Schema, count int) (err error)

Jump to

Keyboard shortcuts

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