| 103 | } |
| 104 | |
| 105 | type testSession struct { |
| 106 | ctx testSSHContext |
| 107 | |
| 108 | // c2p is the client -> pty buffer |
| 109 | toPty *io.PipeReader |
| 110 | // p2c is the pty -> client buffer |
| 111 | fromPty *io.PipeWriter |
| 112 | } |
| 113 | |
| 114 | type testSSHContext struct { |
| 115 | context.Context |
nothing calls this directly
no outgoing calls
no test coverage detected