MCPcopy
hub / github.com/1Panel-dev/KubePi / RedisCache

Struct RedisCache

thirdparty/gotty/cache/token/redis.go:13–16  ·  view source on GitHub ↗

RedisCache use redis to store token and TtyParameter

Source from the content-addressed store, hash-verified

11
12//RedisCache use redis to store token and TtyParameter
13type RedisCache struct {
14 client *redis.Client
15 prefix string
16}
17
18//NewRedisCache new redis token cache
19func NewRedisCache(client *redis.Client, prefix string) *RedisCache {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected