package
0.0.0-20200615214053-b18812d7f12b
Repository: https://github.com/knrt10/grpc-cache.git
Documentation: pkg.go.dev

# Functions

NewCacheService is used to initialize a new cache.

# Variables

ErrKeyExpired for keys expired.
ErrNoKey for key not found.

# Structs

Cache is a struct in which the cache's methods synchronize access to this map, so it is not recommended to keep any references to the map around after creating a cache.
Item items value of key and expiration.