cache

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalObjectCache *cache

GlobalObjectCache is our global object cache, of course.

Functions

func Load

func Load(cfg *config.Config, name string, loadFunc loadFunc) (interface{}, error)

func Open

func Open(filename string) (io.ReadCloser, error)

func Populate

func Populate(name string, data []byte, readFunc readFunc) error

func Precache

func Precache(filename string, rawBytes []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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