2021-05-13 04:58:45 +03:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2021-05-14 14:07:19 +03:00
|
|
|
|
namespace ProxySuper.Core.Models.Projects
|
2021-05-13 04:58:45 +03:00
|
|
|
|
{
|
|
|
|
|
public class TrojanGoSettings : IProjectSettings
|
|
|
|
|
{
|
2021-05-16 04:12:47 +03:00
|
|
|
|
public override List<int> FreePorts
|
2021-05-13 04:58:45 +03:00
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return new List<int>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-16 04:12:47 +03:00
|
|
|
|
public override ProjectType Type { get; set; } = ProjectType.TrojanGo;
|
2021-05-14 14:07:19 +03:00
|
|
|
|
|
2021-05-13 04:58:45 +03:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 域名
|
|
|
|
|
/// </summary>
|
2021-05-16 04:12:47 +03:00
|
|
|
|
public override string Domain { get; set; }
|
2021-05-13 04:58:45 +03:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 端口
|
|
|
|
|
/// </summary>
|
2021-05-16 04:12:47 +03:00
|
|
|
|
public override int Port { get; set; }
|
2021-05-13 04:58:45 +03:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 密码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Password { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 伪装域名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MaskDomain { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|