cache

package
Version: v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL