MCPcopy
hub / github.com/gliderlabs/ssh / Context

Method Context

session.go:62–62  ·  view source on GitHub ↗

Context returns the connection's context. The returned context is always non-nil and holds the same data as the Context passed into auth handlers and callbacks. The context is canceled when the client's connection closes or I/O operation fails.

()

Source from the content-addressed store, hash-verified

60 // The context is canceled when the client's connection closes or I/O
61 // operation fails.
62 Context() Context
63
64 // Permissions returns a copy of the Permissions object that was available for
65 // setup in the auth handlers via the Context.

Callers 4

TestSetValueFunction · 0.65
AgentRequestedFunction · 0.65
ForwardAgentConnectionsFunction · 0.65
mainFunction · 0.65

Implementers 1

sessionsession.go

Calls

no outgoing calls

Tested by 1

TestSetValueFunction · 0.52