lrucache

package
v0.0.0-...-2bc610f Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2017 License: GPL-3.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 Entry

type Entry struct {
	// contains filtered or unexported fields
}

Entry ...

type LRUCache

type LRUCache struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

LRUCache ...

func (*LRUCache) Get

func (c *LRUCache) Get(key string) (interface{}, bool)

Get ...

func (*LRUCache) MaxSize

func (c *LRUCache) MaxSize() int

MaxSize ...

func (*LRUCache) Set

func (c *LRUCache) Set(key string, val interface{}) *LRUCache

Set ...

func (*LRUCache) Size

func (c *LRUCache) Size() int

Size ...

Jump to

Keyboard shortcuts

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