cache

package
v0.0.0-...-2e0f108 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath() (string, error)

Types

type Cache

type Cache struct {
	Dir  string
	Done chan error
}

func NewCache

func NewCache(dir string) (*Cache, error)

func (*Cache) Delete

func (cache *Cache) Delete(envkeyParam string) error

func (*Cache) Read

func (cache *Cache) Read(envkeyParam string) ([]byte, error)

func (*Cache) Write

func (cache *Cache) Write(envkeyParam string, body []byte) error

Jump to

Keyboard shortcuts

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