namespace Proxd_man.Config; public class ProxdConfig { public InboundConfig Inbound { get; } = new(new HttpInboundSetting()); public SubscribeSetting Subscribe { get; } = new(); } public class InboundConfig(HttpInboundSetting? http = null) { public HttpInboundSetting? Http { get; } = http; } public class HttpInboundSetting(string? bindAddress = null, ushort port = 1080, BasicInboundAuthSetting? authentication = null) { public string? BindAddress { get; } = bindAddress; public ushort Port = port; public BasicInboundAuthSetting? Authentication { get; } = authentication; } public class BasicInboundAuthSetting(string username, string password) { public string Username { get; } = username; public string Password { get; } = password; } public class SubscribeSetting { public List Subscribes { get; } = []; }