Redid stores. Added user store. Added Channel Manager, to manage data from a single channel.
This commit is contained in:
@@ -9,14 +9,4 @@ namespace HermesSocketServer.Store
|
||||
Task<bool> Save();
|
||||
bool Set(K? key, V? value);
|
||||
}
|
||||
|
||||
public interface IStore<L, R, V>
|
||||
{
|
||||
V? Get(L leftKey, R rightKey);
|
||||
IDictionary<R, V> Get(L leftKey);
|
||||
Task Load();
|
||||
void Remove(L? leftKey, R? rightKey);
|
||||
Task<bool> Save();
|
||||
bool Set(L? leftKey, R? rightKey, V? value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user