MCPcopy
hub / github.com/genuinetools/img / getSessionManager

Method getSessionManager

client/session.go:14–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12)
13
14func (c *Client) getSessionManager() (*session.Manager, error) {
15 if c.sessionManager == nil {
16 var err error
17 c.sessionManager, err = session.NewManager()
18 if err != nil {
19 return nil, err
20 }
21 }
22 return c.sessionManager, nil
23}
24
25// Session creates the session manager and returns the session and it's
26// dialer.

Callers 4

PushMethod · 0.95
PullMethod · 0.95
createControllerMethod · 0.95
SessionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected