MCPcopy Create free account
hub / github.com/33cn/chain33 / queue

Struct queue

queue/queue.go:68–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68type queue struct {
69 chanSubs map[string]*chanSub
70 mu sync.Mutex
71 done chan struct{}
72 interrupt chan struct{}
73 callback chan *Message
74 isClose int32
75 name string
76 cfg *types.Chain33Config
77 msgPool *sync.Pool
78}
79
80// New new queue struct
81func New(name string) Queue {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected