FastGithubOptions.cs 519 B

123456789101112131415161718192021
  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. /// 回退的dns
  12. /// </summary>
  13. public DnsConfig[] FallbackDns { get; set; } = Array.Empty<DnsConfig>();
  14. /// <summary>
  15. /// 代理的域名配置
  16. /// </summary>
  17. public Dictionary<string, DomainConfig> DomainConfigs { get; set; } = new();
  18. }
  19. }