Done returns true if the proxy has exited.
()
| 101 | |
| 102 | // Done returns true if the proxy has exited. |
| 103 | func (p *ProxyExec) Done() bool { |
| 104 | select { |
| 105 | case <-p.done: |
| 106 | return true |
| 107 | default: |
| 108 | } |
| 109 | return false |
| 110 | } |
| 111 | |
| 112 | // Close releases any resources associated with the instance. |
| 113 | func (p *ProxyExec) Close() { |
no outgoing calls
no test coverage detected