Abstract away redis even more with AlmostRedis.cs
This commit is contained in:
parent
f53258e348
commit
35f0a5c8f8
10 changed files with 153 additions and 78 deletions
13
Geekbot.net/Lib/AlmostRedis/IAlmostRedis.cs
Normal file
13
Geekbot.net/Lib/AlmostRedis/IAlmostRedis.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System.Collections.Generic;
|
||||
using StackExchange.Redis;
|
||||
|
||||
namespace Geekbot.net.Lib.AlmostRedis
|
||||
{
|
||||
public interface IAlmostRedis
|
||||
{
|
||||
void Connect();
|
||||
IDatabase Db { get; }
|
||||
ConnectionMultiplexer Connection { get; }
|
||||
IEnumerable<RedisKey> GetAllKeys();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue