(section *ini.Section)
| 386 | } |
| 387 | |
| 388 | func parseSTDIOTunnelConfig(section *ini.Section) (RoutineSpawner, error) { |
| 389 | config := &STDIOTunnelConfig{} |
| 390 | targetSection, err := parseString(section, "Target") |
| 391 | if err != nil { |
| 392 | return nil, err |
| 393 | } |
| 394 | config.Target = targetSection |
| 395 | config.Input = os.Stdin |
| 396 | config.Output = os.Stdout |
| 397 | |
| 398 | return config, nil |
| 399 | } |
| 400 | |
| 401 | func parseTCPServerTunnelConfig(section *ini.Section) (RoutineSpawner, error) { |
| 402 | config := &TCPServerTunnelConfig{} |
nothing calls this directly
no test coverage detected