MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / StartReverseForwardClientUnix

Method StartReverseForwardClientUnix

agentprotocol/server.go:675–684  ·  view source on GitHub ↗
(path string, singleConnection bool)

Source from the content-addressed store, hash-verified

673}
674
675func (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
686func (c *ForwardCtx) NoMoreConnections() error {
687 c.stopped = true

Callers 1

Calls 1

Tested by

no test coverage detected