initcache

package
v1.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

initcache provides a disk cache for getting up and running

Index

Constants

View Source
const (
	ExpireInterval  = 10 * 24 * time.Hour
	CleanupInterval = 15 * time.Minute
)

Variables

This section is empty.

Functions

func Create

func Create(path string) (*cache.Cache, error)

func Load

func Load(path string) (*cache.Cache, error)

func Save

func Save(c *cache.Cache, path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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