Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MethodCacheSpec ¶ added in v0.0.2
type RedisCache ¶ added in v0.0.2
type RedisCache interface { GetInterceptor() grpc.UnaryClientInterceptor RunCleanerListener() error }
func NewRedisCache ¶ added in v0.0.2
func NewRedisCache(config RedisCacheConfig) RedisCache
type RedisCacheConfig ¶
type RedisCacheConfig struct { RedisURL string ServiceName string MethodSpecs map[string]MethodCacheSpec }
Click to show internal directories.
Click to hide internal directories.