mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-08-16 03:31:43 +02:00
.config
.run
.workdir
Agent
Common
Docker
Server
Utils
Phantom.Utils.Collections
Phantom.Utils.Collections.Tests
Phantom.Utils.Cryptography
Phantom.Utils.Events
Phantom.Utils.IO
Phantom.Utils.Rpc
Message
Phantom.Utils.Rpc.csproj
RpcConfiguration.cs
RpcRuntime.cs
Phantom.Utils.Runtime
Phantom.Utils.Runtime.Tests
.gitattributes
.gitignore
AddMigration.bat
AddMigration.sh
PhantomPanel.sln
global.json
9 lines
274 B
C#
9 lines
274 B
C#
using NetMQ;
|
|
using Serilog;
|
|
|
|
namespace Phantom.Utils.Rpc;
|
|
|
|
public sealed record RpcConfiguration(ILogger Logger, string Host, ushort Port, NetMQCertificate ServerCertificate, CancellationToken CancellationToken) {
|
|
public string TcpUrl => "tcp://" + Host + ":" + Port;
|
|
}
|