FastGithubOptions.cs 644 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. namespace FastGithub.Configuration
  4. {
  5. /// <summary>
  6. /// FastGithub的配置
  7. /// </summary>
  8. public class FastGithubOptions
  9. {
  10. /// <summary>
  11. /// http代理端口
  12. /// </summary>
  13. public int HttpProxyPort { get; set; } = 38457;
  14. /// <summary>
  15. /// 回退的dns
  16. /// </summary>
  17. public string[] FallbackDns { get; set; } = Array.Empty<string>();
  18. /// <summary>
  19. /// 代理的域名配置
  20. /// </summary>
  21. public Dictionary<string, DomainConfig> DomainConfigs { get; set; } = new();
  22. }
  23. }