NoSugarNet/NoSugarNet.ServerCore/Common/Config.cs

20 lines
510 B
C#
Raw Normal View History

2024-01-25 17:17:16 +08:00
using NoSugarNet.DataHelper;
using System.Text;
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
}
}