cache

package
v0.0.0-...-c781e8f Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDBPath

func GetDBPath(key string) string

Types

type Cache

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

func New

func New(key string) *Cache

func (*Cache) Get

func (c *Cache) Get(key string) (string, error)

func (*Cache) Set

func (c *Cache) Set(key, value string) error

Jump to

Keyboard shortcuts

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