MCPcopy Index your code
hub / github.com/screego/server / debug

Method debug

ws/client.go:173–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171}
172
173func (c *Client) debug() *zerolog.Event {
174 return log.Debug().Str("id", c.info.ID.String()).Str("ip", c.info.Addr.String())
175}
176
177func (c *Client) printWebSocketError(typex string, err error) {
178 if strings.Contains(err.Error(), "use of closed network connection") {

Callers 4

newClientFunction · 0.95
startReadingMethod · 0.95
startWriteHandlerMethod · 0.95
printWebSocketErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected