Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dearcode/candy
/ newSession
Function
newSession
gate/session.go:23–26 ·
view source on GitHub ↗
(addr string)
Source
from the content-addressed store, hash-verified
21
}
22
23
func
newSession(addr string) *session {
24
log.Debugf(
"addr:%s"
, addr)
25
return
&session{addr: addr, push: make(
chan
*meta.PushMessage)}
26
}
27
28
func
(s *session) online(id int64) {
29
log.Debugf(
"id:%v"
, id)
Callers
1
getSession
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected