Added voice store.

This commit is contained in:
Tom
2024-10-17 19:06:22 +00:00
parent c082054606
commit 88104484f6
2 changed files with 224 additions and 0 deletions

12
Store/IStore.cs Normal file
View File

@@ -0,0 +1,12 @@
namespace HermesSocketServer.Store
{
public interface IStore<K, V>
{
V? Get(K key);
IEnumerable<V> Get();
Task Load();
void Remove(K? key);
Task Save();
bool Set(K? key, V? value);
}
}