cc

package
v0.0.0-...-309cb8d Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: AGPL-3.0 Imports: 1 Imported by: 1

Documentation

Overview

Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.

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(capacity int) *Lru

func (*Lru) Clear

func (l *Lru) Clear()

func (*Lru) Get

func (l *Lru) Get(k string) (interface{}, bool)

func (*Lru) Remove

func (l *Lru) Remove(k string)

func (*Lru) Set

func (l *Lru) Set(k string, v interface{})

Jump to

Keyboard shortcuts

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