FastGithub/FastGithub.Configuration/FastGithubOptions.cs
老九 bec32d2e35 dnscrypt-proxy使用随机端口;
支持多个回退DNS上游;
2021-08-27 00:51:24 +08:00

27 lines
661 B
C#

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