Files
Core.Thalos.DAL.API/Core.Thalos.Infraestructure/Caching/Contracts/ICacheService.cs
Sergio Matias Urquin 24efe5612c reeplace cerberos by talos
2025-05-18 19:11:08 -06:00

12 lines
369 B
C#

namespace Core.Thalos.Infraestructure.Caching.Contracts
{
public interface ICacheService
{
Task<T> GetAsync<T>(string key);
Task SetAsync<T>(string key, T value, TimeSpan? expiry = null);
Task RemoveAsync(string key);
Task<bool> ExistsAsync(string key);
Task RefreshAsync(string key, TimeSpan? expiry = null);
}
}