NoSugarNet/NoSugarNet.ServerCore/Common/Config.cs

19 lines
499 B
C#
Raw Normal View History

2024-06-25 13:18:33 +08:00
using NoSugarNet.Adapter.DataHelper;
2024-01-22 15:08:43 +08:00
namespace NoSugarNet.ServerCore.Common
{
public struct TunnelClientData
{
public byte TunnelId;
public string ServerLocalTargetIP;
public ushort ServerLocalTargetPort;
2024-01-22 15:08:43 +08:00
public ushort ClientLocalPort;
}
public static class Config
{
2024-01-25 17:17:16 +08:00
public static Dictionary<byte, TunnelClientData> cfgs = new Dictionary<byte, TunnelClientData>();
public static E_CompressAdapter compressAdapterType;
2024-01-22 15:08:43 +08:00
}
}