mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-11-05 06:45:37 +01:00
18 lines
441 B
C#
18 lines
441 B
C#
namespace Giants.Services
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Net;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
public interface IServerRegistryStore
|
|
{
|
|
public Task<IEnumerable<ServerInfo>> GetAllServerInfos();
|
|
|
|
public Task<ServerInfo> GetServerInfo(IPAddress ipAddress);
|
|
|
|
public Task UpsertServerInfo(IPAddress ipAddress, ServerInfo serverInfo);
|
|
}
|
|
}
|