cache

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("not found")
)

Functions

This section is empty.

Types

type Cache

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

func NewCache

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

func (*Cache) Close

func (c *Cache) Close() error

func (*Cache) GetRepoStats

func (c *Cache) GetRepoStats(repoId string) (*v1.RepoStats, error)

func (*Cache) SetRepoStats

func (c *Cache) SetRepoStats(repoId string, stats *v1.RepoStats) error

Jump to

Keyboard shortcuts

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