simplecache

package
v0.0.0-...-abb4387 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(key string) ([]byte, error)

func ReadUint64

func ReadUint64(key string) (uint64, error)

func Remove

func Remove(key string) error

func RemoveAll

func RemoveAll() error

func SetConfig

func SetConfig(conf Config)

func Store

func Store(key string, value []byte) error

func StoreUint64

func StoreUint64(key string, value uint64) error

Types

type Config

type Config struct {
	StorePath string
}

func GetConfig

func GetConfig() Config

Jump to

Keyboard shortcuts

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