Categorygithub.com/go-apibox/cache
modulepackage
0.0.0-20181117060414-2151a630e9a4
Repository: https://github.com/go-apibox/cache.git
Documentation: pkg.go.dev

# README

cache GoDoc

Cache library for APIBox.

# Functions

NewCache is a helper to create instance of the Cache struct.
NewCacheEx is a helper to create instance of the Cache struct with specified cleanup interval.

# Structs

Cache is a synchronised map of items that auto-expire once stale.
Item represents a record in the cache map.