operation

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 15 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

SuperSet binds cache dependencies

Functions

func DownloadDB

func DownloadDB(appVersion, cacheDir string, quiet, light, skipUpdate bool) error

DownloadDB downloads the DB

Types

type Cache

type Cache struct {
	cache.Cache
}

Cache implements the local cache

func NewCache

func NewCache(backend string) (Cache, error)

NewCache is the factory method for Cache

func (Cache) ClearDB

func (c Cache) ClearDB() (err error)

ClearDB clears the DB cache

func (Cache) ClearImages

func (c Cache) ClearImages() error

ClearImages clears the cache images

func (Cache) Reset

func (c Cache) Reset() (err error)

Reset resets the cache

Jump to

Keyboard shortcuts

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