MCPcopy Create free account
hub / github.com/djherbis/socket / newClientSocket

Function newClientSocket

client.go:41–48  ·  view source on GitHub ↗
(id, ns string, t Transport)

Source from the content-addressed store, hash-verified

39}
40
41func newClientSocket(id, ns string, t Transport) *clientSocket {
42 return &clientSocket{
43 id: id,
44 ns: ns,
45 Handler: newHandler(),
46 Transport: t,
47 }
48}
49
50func (s *clientSocket) ID() string { return s.id }
51

Callers 2

newSocketFunction · 0.85
NewFunction · 0.85

Calls 1

newHandlerFunction · 0.85

Tested by

no test coverage detected