27 lines
		
	
	
		
			644 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			644 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; } = 38457;
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// 回退的dns
 | 
						|
        /// </summary>
 | 
						|
        public string[] FallbackDns { get; set; } = Array.Empty<string>();
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// 代理的域名配置
 | 
						|
        /// </summary>
 | 
						|
        public Dictionary<string, DomainConfig> DomainConfigs { get; set; } = new();
 | 
						|
    }
 | 
						|
}
 |