Back to godoc.org

Package ttrss

v0.0.0-...-ffd16d0
Latest Go to latest

The latest major version is .

Published: Jul 8, 2020 | License: LGPL-3.0 | Module: github.com/urandom/readeef

Index

Constants

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
)

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
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier