cache

package
v2.0.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Apache-2.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 {
	Cache map[insolar.ID]interface{}
}

func New

func New() *Cache

func (*Cache) Delete

func (c *Cache) Delete(key insolar.ID)

func (*Cache) Get

func (c *Cache) Get(key insolar.ID) interface{}

func (*Cache) Has

func (c *Cache) Has(key insolar.ID) bool

func (*Cache) Set

func (c *Cache) Set(key insolar.ID, value interface{})

Jump to

Keyboard shortcuts

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