MCPcopy Index your code
hub / github.com/windtf/wireproxy / parseSTDIOTunnelConfig

Function parseSTDIOTunnelConfig

config.go:388–399  ·  view source on GitHub ↗
(section *ini.Section)

Source from the content-addressed store, hash-verified

386}
387
388func 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
401func parseTCPServerTunnelConfig(section *ini.Section) (RoutineSpawner, error) {
402 config := &TCPServerTunnelConfig{}

Callers

nothing calls this directly

Calls 1

parseStringFunction · 0.85

Tested by

no test coverage detected