(path string, singleConnection bool)
| 673 | } |
| 674 | |
| 675 | func (c *ForwardCtx) StartReverseForwardClientUnix(path string, singleConnection bool) (chan *Connection, error) { |
| 676 | setupPacket := SetupPacket{ |
| 677 | ConnectionType: CONNECTION_TYPE_PORT_FORWARD, |
| 678 | BindHost: path, |
| 679 | Protocol: "unix", |
| 680 | SingleConnection: singleConnection, |
| 681 | } |
| 682 | |
| 683 | return c.startReverseForwardingClient(setupPacket) |
| 684 | } |
| 685 | |
| 686 | func (c *ForwardCtx) NoMoreConnections() error { |
| 687 | c.stopped = true |
no test coverage detected