MCPcopy
hub / github.com/davyxu/cellnet / Peer

Method Peer

session.go:10–10  ·  view source on GitHub ↗

获得Session归属的Peer

()

Source from the content-addressed store, hash-verified

8
9 // 获得Session归属的Peer
10 Peer() Peer
11
12 // 发送消息,消息需要以指针格式传入
13 Send(msg interface{})

Callers 15

SessionQueuedCallFunction · 0.65
WriteRespondMethod · 0.65
WriteRespondMethod · 0.65
WriteRespondMethod · 0.65
WriteRespondMethod · 0.65
OnRecvMessageMethod · 0.65
OnSendMessageMethod · 0.65
relay_agentFunction · 0.65
QueueMethod · 0.65
ResolveInboundEventFunction · 0.65
ResolveOutboundEventFunction · 0.65
WriteRecvLoggerFunction · 0.65

Implementers 2

httpSessionpeer/http/session.go
udpSessionpeer/udp/session.go

Calls

no outgoing calls

Tested by 1

relay_agentFunction · 0.52