fetch

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

package fetch implements routines for fetching gemini, gopher, and http resources and parsing feed formats

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Feed

func Feed(data *core.FullData, remote *url.URL, title string) error

Feed will fetch and insert a new core.Feed into a core.FullData given any url (or update if it's preexisting)

func Page

func Page(data *core.FullData, remote *url.URL, title string) error

Page will fetch and insert a new core.Page into a core.FullData given any url (or update if it's preexisting)

func RefreshAll

func RefreshAll(data *core.FullData, numWorkers int) error

RefreshAll will check all feeds and pages in a core.FullData for updates

Types

This section is empty.

Jump to

Keyboard shortcuts

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