ttrss

package
v0.0.0-...-95c851e Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	API_STATUS_OK  = 0
	API_STATUS_ERR = 1
	API_VERSION    = "1.8.0"
	API_LEVEL      = 12

	ARCHIVED_ID      = 0
	FAVORITE_ID      = -1
	PUBLISHED_ID     = -2
	FRESH_ID         = -3
	ALL_ID           = -4
	RECENTLY_READ_ID = -6

	FRESH_DURATION = -24 * time.Hour

	CAT_UNCATEGORIZED      = 0
	CAT_SPECIAL            = -1 // Starred, Published, Archived, etc.
	CAT_LABELS             = -2
	CAT_ALL_EXCEPT_VIRTUAL = -3 // i.e: labels
	CAT_ALL                = -4
)

Variables

This section is empty.

Functions

func FakeWebHandler

func FakeWebHandler(w http.ResponseWriter, r *http.Request)

func Handler

func Handler(
	ctx context.Context,
	service repo.Service,
	searchProvider search.Provider,
	feedManager *readeef.FeedManager,
	processors []processor.Article,
	secret []byte,
	update time.Duration,
	log log.Log,
) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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