(key, value interface{})
| 132 | } |
| 133 | |
| 134 | func (ctx *sshContext) SetValue(key, value interface{}) { |
| 135 | ctx.valuesMu.Lock() |
| 136 | defer ctx.valuesMu.Unlock() |
| 137 | ctx.values[key] = value |
| 138 | } |
| 139 | |
| 140 | func (ctx *sshContext) User() string { |
| 141 | return ctx.Value(ContextKeyUser).(string) |