mirror of
https://github.com/snltty/linker.git
synced 2025-10-08 10:30:08 +08:00
12 lines
272 B
C#
12 lines
272 B
C#
namespace linker.messenger.relay.server.caching
|
|
{
|
|
public interface IRelayServerCaching
|
|
{
|
|
public string Name { get; }
|
|
|
|
public bool TryAdd<T>(string key, T value, int expired);
|
|
public bool TryGetValue<T>(string key, out T value);
|
|
}
|
|
|
|
}
|