MCPcopy
hub / github.com/tinode/chat / test_makeSession

Function test_makeSession

server/session_test.go:17–25  ·  view source on GitHub ↗
(uid types.Uid)

Source from the content-addressed store, hash-verified

15)
16
17func test_makeSession(uid types.Uid) *Session {
18 return &Session{
19 send: make(chan any, 10),
20 uid: uid,
21 authLvl: auth.LevelAuth,
22 inflightReqs: newBoundedWaitGroup(1),
23 ver: 22,
24 }
25}
26
27func TestDispatchHello(t *testing.T) {
28 s := &Session{

Calls 1

newBoundedWaitGroupFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…