cache

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Path define its local user-level cache path
	Path string
)

Functions

func Check

func Check() bool

Check if resources is cached

func Purge

func Purge()

Purge local/cached resources

func Update

func Update()

Update latest resources being cached

Types

type Cache

type Cache struct {
	UpdatedAt string `json:"updated_at"`
}

Cache defines resources cache file informations

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳