MCPcopy Create free account
hub / github.com/dan-v/lambda-nat-proxy / Primary

Method Primary

internal/manager/manager.go:377–379  ·  view source on GitHub ↗

Primary returns the primary session (alias for GetCurrent)

()

Source from the content-addressed store, hash-verified

375
376// Primary returns the primary session (alias for GetCurrent)
377func (cm *ConnManager) Primary() *Session {
378 return cm.GetCurrent()
379}
380
381// WaitForSession waits until a session is available or context is cancelled
382func (cm *ConnManager) WaitForSession(ctx context.Context) (*Session, error) {

Callers 1

Calls 1

GetCurrentMethod · 0.95

Tested by

no test coverage detected