Implemented node system statistics
This commit is contained in:
14
MoonlightServers.Daemon/Mappers/SystemStatisticsMapper.cs
Normal file
14
MoonlightServers.Daemon/Mappers/SystemStatisticsMapper.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using MoonlightServers.Daemon.Helpers;
|
||||
using MoonlightServers.DaemonShared.Http.Daemon;
|
||||
using Riok.Mapperly.Abstractions;
|
||||
|
||||
namespace MoonlightServers.Daemon.Mappers;
|
||||
|
||||
[Mapper]
|
||||
[SuppressMessage("Mapper", "RMG020:No members are mapped in an object mapping")]
|
||||
[SuppressMessage("Mapper", "RMG012:No members are mapped in an object mapping")]
|
||||
public static partial class SystemStatisticsMapper
|
||||
{
|
||||
public static partial SystemStatisticsDto ToDto(SystemMetrics.SystemSnapshot snapshot);
|
||||
}
|
||||
Reference in New Issue
Block a user