1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-29 00:26:09 +03:00
ProxySU/ProxySuper.Core/Models/Projects/BrookSettings.cs
2021-07-08 18:37:32 +08:00

35 lines
762 B
C#

using System.Collections.Generic;
namespace ProxySuper.Core.Models.Projects
{
public class BrookSettings : IProjectSettings
{
public string Domain { get; set; }
public string IP { get; set; }
public string Password { get; set; }
public BrookType BrookType { get; set; }
public int Port { get; set; } = 443;
public List<int> FreePorts
{
get
{
if (Port == 443)
{
return new List<int> { 80, 443 };
}
return new List<int> { Port };
}
}
public string Email => "server@brook.com";
public ProjectType Type { get; set; } = ProjectType.Brook;
}
}