Implemented statistics. Refactored storage abstractions. Added config options for docker and local storage. Added server service and server updating.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace MoonlightServers.Daemon.ServerSystem.Abstractions;
|
||||
|
||||
public interface IInstallStatistics
|
||||
public interface IInstallStatistics : IAsyncDisposable
|
||||
{
|
||||
public event Func<ServerStatistics, Task>? OnStatisticsReceived;
|
||||
|
||||
|
||||
@@ -2,5 +2,5 @@ namespace MoonlightServers.Daemon.ServerSystem.Abstractions;
|
||||
|
||||
public interface IInstallStorage
|
||||
{
|
||||
public Task<string> GetHostPathAsync();
|
||||
public Task<string> GetBindPathAsync();
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace MoonlightServers.Daemon.ServerSystem.Abstractions;
|
||||
|
||||
public interface IRuntimeStatistics
|
||||
public interface IRuntimeStatistics : IAsyncDisposable
|
||||
{
|
||||
public event Func<ServerStatistics, Task>? OnStatisticsReceived;
|
||||
|
||||
|
||||
@@ -2,5 +2,5 @@ namespace MoonlightServers.Daemon.ServerSystem.Abstractions;
|
||||
|
||||
public interface IRuntimeStorage
|
||||
{
|
||||
public Task<string> GetHostPathAsync();
|
||||
public Task<string> GetBindPathAsync();
|
||||
}
|
||||
Reference in New Issue
Block a user