added base diagnose, is not working, yet, still contains test objects

This commit is contained in:
moritz
2025-05-11 13:03:44 +02:00
parent 1b4d32eed3
commit 8ac2d20d8a
7 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using System.Text;
using Moonlight.ApiServer.Interfaces;
using Moonlight.ApiServer.Models.Diagnose;
namespace Moonlight.ApiServer.Implementations.Diagnose;
public class CoreDiagnoseProvider : IDiagnoseProvider
{
public async Task<DiagnoseEntry> GetFiles()
{
return new DiagnoseFile()
{
GetContent = () => Encoding.UTF8.GetBytes("hello world")
};
}
}