cache

package
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

Jump to

Keyboard shortcuts

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