Initial commit
This commit is contained in:
20
ASS.Server/Services/InstanceService.cs
Normal file
20
ASS.Server/Services/InstanceService.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ASS.API;
|
||||
using Grpc.Core;
|
||||
|
||||
namespace ASS.Server.Services
|
||||
{
|
||||
class InstanceService : Instance.InstanceBase
|
||||
{
|
||||
public async override Task<InstanceStatus> GetStatus(EmptyRequest request, ServerCallContext context)
|
||||
{
|
||||
return new InstanceStatus
|
||||
{
|
||||
Message = $"YOU:{request.Auth.Token}:WE:{DateTime.Now.ToString()}"
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user