MCPcopy Index your code
hub / github.com/aceld/zinx / SetNotifyID

Method SetNotifyID

znotify/notify.go:44–47  ·  view source on GitHub ↗
(Id uint64, conn ziface.IConnection)

Source from the content-addressed store, hash-verified

42}
43
44func (n *notify) SetNotifyID(Id uint64, conn ziface.IConnection) {
45 strId := n.genConnStrId(Id)
46 n.connIdMap.Set(strId, conn)
47}
48
49func (n *notify) GetNotifyByID(Id uint64) (ziface.IConnection, error) {
50

Callers

nothing calls this directly

Calls 2

genConnStrIdMethod · 0.95
SetMethod · 0.65

Tested by

no test coverage detected