caching

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package caching implements a key value caching store.

The stored values must be registered with gob.Register.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

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

func Open

func Open(p string) (*Map, error)

func (*Map) Close

func (m *Map) Close() error

func (*Map) Get

func (m *Map) Get(c codes.WorkCode, v interface{})

func (*Map) Put

func (m *Map) Put(c codes.WorkCode, v interface{})

Jump to

Keyboard shortcuts

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