cache

package
v0.0.0-...-203cdba Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Set

func Set(i Item)

func Tidy

func Tidy()

Types

type Item

type Item struct {
	Addr string
	opossum.ContentType
	Buf  []byte
	Used time.Time
}

func Get

func Get(addr string) (i Item, ok bool)

type Items

type Items []*Item

func (Items) Len

func (is Items) Len() int

func (Items) Less

func (is Items) Less(i, j int) bool

func (Items) Swap

func (is Items) Swap(i, j int)

Jump to

Keyboard shortcuts

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