MCPcopy Index your code
hub / github.com/tinode/chat / p2mSenderLoop

Method p2mSenderLoop

server/cluster.go:110–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108}
109
110func (n *ClusterNode) p2mSenderLoop() {
111 for req := range n.p2mSender {
112 if req == nil {
113 // Stop
114 return
115 }
116
117 if err := n.proxyToMaster(req); err != nil {
118 logs.Warn.Println("p2mSenderLoop: call failed", n.name, err)
119 }
120 }
121}
122
123// ClusterSess is a basic info on a remote session where the message was created.
124type ClusterSess struct {

Callers 1

startMethod · 0.80

Calls 2

proxyToMasterMethod · 0.95
PrintlnMethod · 0.80

Tested by

no test coverage detected