MCPcopy
hub / github.com/uselotus/lotus / Cache

Interface Cache

go/event-ingestion/cache/cache.go:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type Cache interface {
13 Get(key string) (string, error)
14 Set(key string, value interface{}, expiration *time.Duration) error
15}
16
17type RedisCache struct {
18 rdb *redis.Client

Callers 7

mainFunction · 0.65
GetMethod · 0.65
MiddlewareFunction · 0.65
SetMethod · 0.65
MiddlewareFunction · 0.65
MiddlewareFunction · 0.65
posthogTrackFunction · 0.65

Implementers 1

RedisCachego/event-ingestion/cache/cache.go

Calls

no outgoing calls

Tested by

no test coverage detected