| 56 | } |
| 57 | |
| 58 | type sshSmartSubtransport struct { |
| 59 | transport *Transport |
| 60 | |
| 61 | lastAction SmartServiceAction |
| 62 | client *ssh.Client |
| 63 | session *ssh.Session |
| 64 | stdin io.WriteCloser |
| 65 | stdout io.Reader |
| 66 | currentStream *sshSmartSubtransportStream |
| 67 | } |
| 68 | |
| 69 | func (t *sshSmartSubtransport) Action(urlString string, action SmartServiceAction) (SmartSubtransportStream, error) { |
| 70 | runtime.LockOSThread() |
nothing calls this directly
no outgoing calls
no test coverage detected