MCPcopy
hub / github.com/lxzan/gws / WebSocket

Struct WebSocket

examples/client/client.go:36–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36type WebSocket struct {
37}
38
39func (c *WebSocket) OnClose(socket *gws.Conn, err error) {
40 fmt.Printf("onerror: err=%s\n", err.Error())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected