MCPcopy Create free account
hub / github.com/EdgeSecurityTeam/EHole / NewQueue

Function NewQueue

module/queue/queue.go:14–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14func NewQueue() *Queue {
15 q := new(Queue)
16 q.data = list.New()
17 return q
18}
19
20func (q *Queue) Push(v interface{}) *list.Element {
21 q.l.Lock()

Callers 2

NewScanFunction · 0.92
TestFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestFunction · 0.68