mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-30 09:06:06 +03:00
35 lines
762 B
C#
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;
|
|
|
|
}
|
|
}
|