cache

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CACHE_PATH string = filepath.Join(getHomeDir(), ".jarvis", "cache.json")
)

Functions

func GetBoolCache added in v0.0.11

func GetBoolCache(key string) (bool, bool)

func GetCache

func GetCache(key string) (string, bool)

func GetInt64Cache added in v0.0.11

func GetInt64Cache(key string) (int64, bool)

func SetBoolCache added in v0.0.11

func SetBoolCache(key string, value bool) error

func SetCache

func SetCache(key, value string) error

func SetInt64Cache added in v0.0.11

func SetInt64Cache(key string, value int64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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