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

Struct clientSocket

client.go:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32type clientSocket struct {
33 mu sync.RWMutex
34 id string
35 ns string
36 Handler
37 Transport
38 onDisconnect func()
39}
40
41func newClientSocket(id, ns string, t Transport) *clientSocket {
42 return &clientSocket{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected