MCPcopy
hub / github.com/aceld/zinx / HasIdConn

Method HasIdConn

znotify/notify.go:39–42  ·  view source on GitHub ↗
(Id uint64)

Source from the content-addressed store, hash-verified

37}
38
39func (n *notify) HasIdConn(Id uint64) bool {
40 strId := n.genConnStrId(Id)
41 return n.connIdMap.Has(strId)
42}
43
44func (n *notify) SetNotifyID(Id uint64, conn ziface.IConnection) {
45 strId := n.genConnStrId(Id)

Callers

nothing calls this directly

Calls 2

genConnStrIdMethod · 0.95
HasMethod · 0.80

Tested by

no test coverage detected