Files
parr_api/PARR.Core/Common/Interfaces/IInfluxDbService.cs

15 lines
355 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using InfluxDB.Client;
namespace PARR.Core.Common.Interfaces
{
/// <summary>
/// Сервис взаимодействия с InfluxDb
/// </summary>
public interface IInfluxDbService
{
Task<T> QueryAsync<T>(Func<QueryApi, Task<T>> action, string token);
bool Write(Action<WriteApi> action, string token);
}
}