| 92 | } |
| 93 | |
| 94 | type sshContext struct { |
| 95 | context.Context |
| 96 | *sync.Mutex |
| 97 | |
| 98 | values map[interface{}]interface{} |
| 99 | valuesMu sync.Mutex |
| 100 | } |
| 101 | |
| 102 | func newContext(srv *Server) (*sshContext, context.CancelFunc) { |
| 103 | innerCtx, cancel := context.WithCancel(context.Background()) |
nothing calls this directly
no outgoing calls
no test coverage detected