RedisCache use redis to store token and TtyParameter
| 11 | |
| 12 | //RedisCache use redis to store token and TtyParameter |
| 13 | type RedisCache struct { |
| 14 | client *redis.Client |
| 15 | prefix string |
| 16 | } |
| 17 | |
| 18 | //NewRedisCache new redis token cache |
| 19 | func NewRedisCache(client *redis.Client, prefix string) *RedisCache { |
nothing calls this directly
no outgoing calls
no test coverage detected