FastGithub/FastGithub.Configuration/FastGithubOptions.cs
2021-09-14 17:55:23 +08:00

27 lines
641 B
C#

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