MCPcopy Create free account
hub / github.com/bricks-cloud/BricksLLM / Cache

Struct Cache

internal/storage/redis/cache.go:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type Cache struct {
14 client *redis.Client
15 wt time.Duration
16 rt time.Duration
17}
18
19func NewCache(c *redis.Client, wt time.Duration, rt time.Duration) *Cache {
20 return &Cache{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected