mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-08-16 12:31:43 +02:00
.config
.run
.workdir
Agent
Common
Controller
Docker
Utils
Phantom.Utils
Phantom.Utils.Actor
Phantom.Utils.Events
Phantom.Utils.Logging
Phantom.Utils.Rpc
Message
Runtime
Sockets
Phantom.Utils.Rpc.csproj
RpcConfiguration.cs
RpcExtensions.cs
Phantom.Utils.Tests
Web
.dockerignore
.gitattributes
.gitignore
AddMigration.bat
AddMigration.sh
Directory.Build.props
Directory.Build.targets
Dockerfile
LICENSE
Packages.props
PhantomPanel.sln
README.md
global.json
9 lines
281 B
C#
9 lines
281 B
C#
using NetMQ;
|
|
|
|
namespace Phantom.Utils.Rpc;
|
|
|
|
public sealed record RpcConfiguration(string ServiceName, string Host, ushort Port, NetMQCertificate ServerCertificate) {
|
|
internal string LoggerName => "Rpc:" + ServiceName;
|
|
internal string TcpUrl => "tcp://" + Host + ":" + Port;
|
|
}
|