cache

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

func NewCache

func NewCache(dbPath string) (*Cache, error)

func (*Cache) Close

func (cache *Cache) Close()

func (*Cache) LoadArticle

func (cache *Cache) LoadArticle(article *models.Article) error

func (*Cache) StoreArticle

func (cache *Cache) StoreArticle(article *models.Article) error

Jump to

Keyboard shortcuts

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