FastGithub/FastGithub.Configuration/FastGithubOptions.cs
xingyuan55 4d9d97f871 start
2022-11-16 08:01:03 +08:00

28 lines
670 B
C#

using System;
using System.Collections.Generic;
using System.Net;
namespace FastGithub.Configuration
{
/// <summary>
/// FastGithub的配置
/// </summary>
public class FastGithubOptions
{
/// <summary>
/// http代理端口
/// </summary>
public int HttpProxyPort { get; set; } = 38457;
/// <summary>
/// 回退的dns
/// </summary>
public IPEndPoint[] FallbackDns { get; set; } = Array.Empty<IPEndPoint>();
/// <summary>
/// 代理的域名配置
/// </summary>
public Dictionary<string, DomainConfig> DomainConfigs { get; set; } = new();
}
}