Documentation ¶
Overview ¶
Package rsschannel provides functionality to act with rsserver's channel Table.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Schema ¶
type Schema struct { ID int `json:"id,omitempty"` RSSLink string `json:"rsslink,omitempty"` gofeed.Feed }
Schema shows the rsschannel table schema that is really used.
type Table ¶
Table contains the db connection to rsschannel Table.
func (*Table) Create ¶
Create makes a new channel instance with the rsslink. It is stored in the configured database.
func (*Table) Select ¶ added in v1.3.1
Select fetch the information of channels in the database and store it in channels array. You can see type Schema in model.go to check the features.
func (*Table) SelectLinks ¶ added in v1.3.1
SelectLinks fetch the rss links of channels with its id and store it in channels array.
Click to show internal directories.
Click to hide internal directories.