Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChrbParser ¶
type ChrbParser struct{}
ChrbParser is a parser for 大管家房屋網 (https://www.chrb.com.tw/tenement.php).
func (ChrbParser) GetFeed ¶
func (parser ChrbParser) GetFeed(query feedgen.QueryValues) (feed *feeds.Feed, err error)
GetFeed returns generated feed with the given query parameters.
type GamerForumParser ¶
type GamerForumParser struct{}
GamerForumParser is a parser for Gamer Forum (https://forum.gamer.com.tw/).
func (GamerForumParser) GetFeed ¶
func (parser GamerForumParser) GetFeed(query feedgen.QueryValues) (feed *feeds.Feed, err error)
GetFeed returns generated feed with the given query parameters.
type GamerForumRespBody ¶
type GamerForumRespBody struct {
Data GamerForumRespData `json:"data"`
}
type GamerForumRespData ¶
type GamerForumRespData struct { OtherInfo GamerForumRespDataOtherInfo `json:"otherInfo"` List []GamerForumRespDataList `json:"list"` }
type GamerForumRespDataList ¶
type GamerForumRespDataList struct { Bsn int `json:"bsn"` SnA int `json:"snA"` Title string `json:"title"` Summary string `json:"summary"` Author string `json:"author"` Nickname string `json:"nickname"` Ctime string `json:"ctime"` ReplyTimestamp int64 `json:"reply_timestamp"` SubboardTitle string `json:"subboard_title"` Gp int64 `json:"gp"` Locked bool `json:"locked"` Del bool `json:"del"` }
type HackernewsParser ¶
type HackernewsParser struct{}
HackernewsParser is a parser for Hacker News (https://news.ycombinator.com/).
func (HackernewsParser) GetBestFeed ¶
func (parser HackernewsParser) GetBestFeed() (feed *feeds.Feed, err error)
GetBestFeed returns generated feed with best category.
func (HackernewsParser) GetFeed ¶
func (parser HackernewsParser) GetFeed(query feedgen.QueryValues) (feed *feeds.Feed, err error)
GetFeed returns generated feed with the given query parameters.
type PttParser ¶
type PttParser struct{}
PttParser is a parser for PTT Web (https://www.ptt.cc/bbs/index.html).
type UdnGameArticleAuthor ¶
type UdnGameArticleAuthor struct {
Title string `json:"title"`
}
type UdnGameArticleTime ¶
type UdnGameArticles ¶
type UdnGameArticles struct { Title string `json:"title"` Author UdnGameArticleAuthor `json:"author"` Paragraph string `json:"paragraph"` Url string `json:"url"` Time UdnGameArticleTime `json:"time"` }
type UdnGameData ¶
type UdnGameData struct {
Articles []UdnGameArticles `json:"lists"`
}
type UdnGameParser ¶
type UdnGameParser struct{}
UdnGameParser is a parser for 遊戲角落 (https://game.udn.com/rank/newest/2003).
func (UdnGameParser) GetFeed ¶
func (parser UdnGameParser) GetFeed(query feedgen.QueryValues) (feed *feeds.Feed, err error)
GetFeed returns generated feed with the given query parameters.