Implemented statistics. Refactored storage abstractions. Added config options for docker and local storage. Added server service and server updating.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user