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

Method User

context.go:140–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138}
139
140func (ctx *sshContext) User() string {
141 return ctx.Value(ContextKeyUser).(string)
142}
143
144func (ctx *sshContext) SessionID() string {
145 return ctx.Value(ContextKeySessionID).(string)

Callers

nothing calls this directly

Calls 1

ValueMethod · 0.95

Tested by

no test coverage detected