MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / buildWSNotification

Function buildWSNotification

internal/relay/server.go:621–623  ·  view source on GitHub ↗

buildWSNotification creates a lightweight JSON notification for WebSocket delivery.

(msg *identity.Message)

Source from the content-addressed store, hash-verified

619
620// buildWSNotification creates a lightweight JSON notification for WebSocket delivery.
621func buildWSNotification(msg *identity.Message) []byte {
622 return ws.BuildNotification(msg)
623}
624
625func splitEmail(addr string) (local, domain string) {
626 parts := strings.SplitN(addr, "@", 2)

Callers 1

deliverToAgentMethod · 0.85

Calls 1

BuildNotificationFunction · 0.92

Tested by

no test coverage detected