()
| 13 | ) |
| 14 | |
| 15 | func init() { |
| 16 | register("proxy", "proxy a connection inside the rack", Proxy, stdcli.CommandOptions{ |
| 17 | Flags: []stdcli.Flag{ |
| 18 | flagRack, |
| 19 | stdcli.BoolFlag("tls", "t", "wrap connection in tls"), |
| 20 | }, |
| 21 | Usage: "<[port:]host:hostport> [[port:]host:hostport]...", |
| 22 | Validate: stdcli.ArgsMin(1), |
| 23 | }) |
| 24 | } |
| 25 | |
| 26 | // var ProxyCloser = make(chan error) |
| 27 |
nothing calls this directly
no test coverage detected