CtxSetConfig puts the given Config into the ssh.Context.
(parent ssh.Context, config *Config)
| 32 | |
| 33 | // CtxSetConfig puts the given Config into the ssh.Context. |
| 34 | func CtxSetConfig(parent ssh.Context, config *Config) { |
| 35 | parent.SetValue(contextKeyConfig, config) |
| 36 | } |
| 37 | |
| 38 | // CtxConfig pulls the current Config out of the context, or a blank Config if |
| 39 | // not set. |