client

package
v0.0.0-...-95734a8 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArticle

func GetArticle(client *http.Client, link *gReddit.Link) (*string, error)

func RssHandler

func RssHandler(redditURL string, now NowFn, client *http.Client, getArticle GetArticleFn, w http.ResponseWriter, r *http.Request)

Types

type GetArticleFn

type GetArticleFn = func(client *http.Client, link *reddit.Link) (*string, error)

type NowFn

type NowFn = func() time.Time

Jump to

Keyboard shortcuts

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