MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / Send

Method Send

p2p/peer.go:42–42  ·  view source on GitHub ↗

actual address of the socket Deprecated: entities looking to act as peers should implement SendEnvelope instead. Send will be removed in v0.37.

(byte, []byte)

Source from the content-addressed store, hash-verified

40 // Deprecated: entities looking to act as peers should implement SendEnvelope instead.
41 // Send will be removed in v0.37.
42 Send(byte, []byte) bool
43
44 // Deprecated: entities looking to act as peers should implement TrySendEnvelope instead.
45 // TrySend will be removed in v0.37.

Callers 11

SendEnvelopeShimFunction · 0.65
SendMethod · 0.65
BroadcastMethod · 0.65
TestMConnectionSendFunction · 0.65
TestMConnectionReceiveFunction · 0.65
ExampleHTTP_batchingFunction · 0.65
testBatchedJSONRPCCallsFunction · 0.65
SendMethod · 0.65

Implementers 5

mockPeerp2p/peer_set_test.go
Peerp2p/mocks/peer.go
Peerp2p/mock/peer.go
fuzzPeertest/fuzz/p2p/pex/reactor_receive.go
mockPeerblockchain/v2/reactor_test.go

Calls

no outgoing calls

Tested by 7

TestMConnectionSendFunction · 0.52
TestMConnectionReceiveFunction · 0.52
ExampleHTTP_batchingFunction · 0.52
testBatchedJSONRPCCallsFunction · 0.52