Implemented statistics. Refactored storage abstractions. Added config options for docker and local storage. Added server service and server updating.

This commit is contained in:
2026-03-02 15:51:05 +00:00
parent 52dbd13fb5
commit 2d1b48b0d4
27 changed files with 493 additions and 147 deletions

View File

@@ -4,12 +4,12 @@ namespace MoonlightServers.Daemon.ServerSystem.Implementations.Local;
public class LocalInstallStorage : IInstallStorage
{
public string HostPath { get; }
public string BindPath { get; }
public LocalInstallStorage(string hostPath)
public LocalInstallStorage(string bindPath)
{
HostPath = hostPath;
BindPath = bindPath;
}
public Task<string> GetHostPathAsync() => Task.FromResult(HostPath);
public Task<string> GetBindPathAsync() => Task.FromResult(BindPath);
}