cache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2019 License: MPL-2.0 Imports: 11 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 {
	// contains filtered or unexported fields
}

func At

func At(dir string) *Cache

func (*Cache) Get

func (c *Cache) Get(k Key, f func() io.Reader, into io.Writer) error

type Key

type Key struct {
	Type       reflect.Type
	Properties Properties
}

type Properties

type Properties map[string]string

func (Properties) MarshalJSON

func (props Properties) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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