cache

package
v0.0.0-...-dc22ae2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 License: Apache-2.0 Imports: 2 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() *Cache

func (*Cache) Get

func (self *Cache) Get(id string) (interface{}, bool)

func (*Cache) Items

func (self *Cache) Items() map[string]interface{}

func (*Cache) Set

func (self *Cache) Set(id string, value interface{})

func (*Cache) SetFromList

func (self *Cache) SetFromList(values []interface{})

Jump to

Keyboard shortcuts

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