MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / RedisDelKey

Function RedisDelKey

common/redis.go:99–105  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

97}
98
99func RedisDelKey(key string) error {
100 if DebugEnabled {
101 SysLog(fmt.Sprintf("Redis DEL Key: key=%s", key))
102 }
103 ctx := context.Background()
104 return RDB.Del(ctx, key).Err()
105}
106
107func RedisHSetObj(key string, obj interface{}, expiration time.Duration) error {
108 if DebugEnabled {

Callers 2

invalidateUserCacheFunction · 0.92
cacheDeleteTokenFunction · 0.92

Calls 1

SysLogFunction · 0.85

Tested by

no test coverage detected