MCPcopy Index your code
hub / github.com/PatchMon/PatchMon / Default

Method Default

server-source-code/internal/context/redis_cache.go:33–35  ·  view source on GitHub ↗

Default returns the default (system) Redis client.

()

Source from the content-addressed store, hash-verified

31
32// Default returns the default (system) Redis client.
33func (c *RedisCache) Default() *redis.Client {
34 return c.defaultRDB
35}
36
37// Evict is a no-op since all contexts share the default client.
38func (c *RedisCache) Evict(host string) {}

Callers 3

MiddlewareFunction · 0.80
GetOrCreateMethod · 0.80
NewPatchingHandlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected