MCPcopy 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
23func newSession(addr string) *session {
24 log.Debugf("addr:%s", addr)
25 return &session{addr: addr, push: make(chan *meta.PushMessage)}
26}
27
28func (s *session) online(id int64) {
29 log.Debugf("id:%v", id)

Callers 1

getSessionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected