miniflux-cligit.sr.ht/~xn/miniflux-cli/storage Index | Files | Directories

package storage

import "git.sr.ht/~xn/miniflux-cli/storage"

Index

Types

type Store

type Store interface {
	// database-related stuff
	Init() error
	Sync(string, *config.Sort) error
	Close() error
	// feeds
	GetFeeds() (*orderedmap.OrderedMap, error)
	// entries
	GetEntries(string) (*orderedmap.OrderedMap, error)
	MarkEntry(string, string) error
}

Store interface

func New

func New(app string, client api.Client, status chan string) (Store, error)

New store

Source Files

storage.go

Directories

PathSynopsis
storage/bolt
Version
v0.99.3 (latest)
Published
Apr 29, 2021
Platform
linux/amd64
Imports
4 packages
Last checked
1 week ago

Tools for package owners.