Done returns a channel that will be closed after all resources are released
()
| 212 | |
| 213 | // Done returns a channel that will be closed after all resources are released |
| 214 | func (ctl *Control) Done() <-chan struct{} { |
| 215 | return ctl.doneCh |
| 216 | } |
| 217 | |
| 218 | // connectServer return a new connection to frps |
| 219 | func (ctl *Control) connectServer() (*msg.Conn, error) { |
no outgoing calls