MCPcopy Create free account
hub / github.com/dearcode/candy / broker

Struct broker

notice/broker.go:23–28  ·  view source on GitHub ↗

users 存储用户ID对应的gate地址

Source from the content-addressed store, hash-verified

21
22// users 存储用户ID对应的gate地址
23type broker struct {
24 mbox chan message
25 gate sender
26 users map[int64]string
27 sync.RWMutex
28}
29
30const (
31 defaultPushChanSize = 1000

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected