cache

package
v0.0.0-...-a79c061 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2018 License: GPL-3.0 Imports: 1 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 NewCache

func NewCache(size uint) Cache

func (*Cache) Delete

func (cch *Cache) Delete(path string)

func (*Cache) Get

func (cch *Cache) Get(path string) ([]byte, bool)

func (*Cache) Set

func (cch *Cache) Set(path string, body []byte)

Jump to

Keyboard shortcuts

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