MCPcopy Index your code
hub / github.com/ContainerSSH/ContainerSSH / NewConnectionUnix

Method NewConnectionUnix

agentprotocol/server.go:439–451  ·  view source on GitHub ↗
(
	path string,
	closeFunc func() error,
)

Source from the content-addressed store, hash-verified

437}
438
439func (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
453func (c *ForwardCtx) newConnection(
454 protocol string,

Callers 1

NewForwardUnixMethod · 0.80

Calls 1

newConnectionMethod · 0.95

Tested by

no test coverage detected