Documentation ¶
Overview ¶
Package aecache implements layers of caching for App Engine.
It provides 2 layers of caching:
- process memory
- cloud datastore
And combines them to provide a layered cache, fastest to slowest.
It only caches bytes, on top of which you can use encodings (json, gob, etc). Faster cache layers are refilled automatically from lower ones when hit. Values expires strictly after provided expiration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrCacheMiss is when key is not found. ErrCacheMiss = errors.New("cache: miss") // ErrTooBig is when a value is too big to fit in the cache. ErrTooBig = errors.New("cache: too big") )
Errors returned by this package.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.