fetch

package
v0.0.0-...-56114fe Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 27 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pause

func Pause()

Pause stops all continuous feed fetching in a way that is resume-able. This call will block until fetching is fully paused. If fetching has not started yet, this call will block indefinitely.

func PrependMediaToHtml

func PrependMediaToHtml(img string, s string) string

PrependMediaToHtml prepends the image included in the RSS enclosure to the HTML content specified.

func Resume

func Resume()

Resume resumes continuous feed fetching with a fresh read of feeds. If fetching has not started yet, this call will block indefinitely.

func Start

Start starts continuous feed fetching and writes fetched articles to the database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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