package
0.0.0-20240808225702-1f1c2144e8b2
Repository: https://github.com/akraino-edge-stack/iec.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
Deserialize transforms bytes produced by Serialize back into a Go object, storing it into "ptr", which must be a pointer to the value type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRedisCache returns a new RedisCache with given parameters until redigo supports sharding/clustering, only one host will be in hostList.
No description provided by the author
Serialize transforms the given value into bytes following these rules: - If value is a byte array, it is returned as-is.
No description provided by the author

# Constants

Length of time to cache an item.
Length of time to cache an item.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
MemcachedCache wraps the Memcached client to meet the Cache interface.
RedisCache wraps the Redis client to meet the Cache interface.

# Interfaces

Cache is an interface to an expiring cache.
Getter is an interface for getting / decoding an element from a cache.

# Type aliases

ItemMapGetter implements a Getter on top of the returned item map.
RedisItemMapGetter implements a Getter on top of the returned item map.