cache

package
v0.0.0-...-9c3a112 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LRU

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

func NewLRU

func NewLRU(size int) *LRU

func (*LRU) Get

func (lru *LRU) Get(key string) string

func (*LRU) Len

func (lru *LRU) Len() int

func (*LRU) Set

func (lru *LRU) Set(key, value string)

type Value

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

Jump to

Keyboard shortcuts

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