Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrVideoMissingFromJSON = errors.New("video missing from json")
Functions ¶
func GetArticle ¶
func GetArticle(client *RedditClient, link *gReddit.Link) (*string, error)
func RssHandler ¶
func RssHandler(redditURL string, now NowFn, client *RedditClient, getArticle GetArticleFn, w http.ResponseWriter, r *http.Request)
Types ¶
type GetArticleFn ¶
type GetArticleFn = func(client *RedditClient, link *reddit.Link) (*string, error)
Click to show internal directories.
Click to hide internal directories.