(section *ini.Section)
| 459 | } |
| 460 | |
| 461 | func parseResolveConfig(section *ini.Section) (*ResolveConfig, error) { |
| 462 | config := &ResolveConfig{} |
| 463 | |
| 464 | resolvStrategy, _ := parseString(section, "ResolveStrategy") |
| 465 | config.ResolveStrategy = resolvStrategy |
| 466 | |
| 467 | return config, nil |
| 468 | } |
| 469 | |
| 470 | func parseUDPProxyTunnelConfig(section *ini.Section) (RoutineSpawner, error) { |
| 471 | config := &UDPProxyTunnelConfig{} |
no test coverage detected