MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / sendRaw

Method sendRaw

internal/nodeagent/session.go:99–103  ·  view source on GitHub ↗
(msg *nodev1.NodeMessage)

Source from the content-addressed store, hash-verified

97}
98
99func (s *session) sendRaw(msg *nodev1.NodeMessage) error {
100 s.sendMu.Lock()
101 defer s.sendMu.Unlock()
102 return s.stream.Send(msg)
103}
104
105// PushEvent 实现 Sender。
106func (s *session) PushEvent(reqID, event string, body []byte, seq uint64) error {

Callers 3

PushEventMethod · 0.95
dispatchMethod · 0.95
runSessionFunction · 0.80

Calls 1

SendMethod · 0.65

Tested by

no test coverage detected