MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / Send

Method Send

agent/utils/websocket/client.go:51–59  ·  view source on GitHub ↗
(res []byte)

Source from the content-addressed store, hash-verified

49}
50
51func (c *Client) Send(res []byte) {
52 if c.closed.Load() {
53 return
54 }
55 select {
56 case c.Msg <- res:
57 default:
58 }
59}

Callers 1

ProcessDataFunction · 0.45

Implementers 1

terminalAIClientagent/utils/terminal/ai/client.go

Calls

no outgoing calls

Tested by

no test coverage detected