( path string, closeFunc func() error, )
| 437 | } |
| 438 | |
| 439 | func (c *ForwardCtx) NewConnectionUnix( |
| 440 | path string, |
| 441 | closeFunc func() error, |
| 442 | ) (io.ReadWriteCloser, error) { |
| 443 | return c.newConnection( |
| 444 | PROTOCOL_UNIX, |
| 445 | path, |
| 446 | 0, |
| 447 | "", |
| 448 | 0, |
| 449 | closeFunc, |
| 450 | ) |
| 451 | } |
| 452 | |
| 453 | func (c *ForwardCtx) newConnection( |
| 454 | protocol string, |
no test coverage detected