()
| 343 | } |
| 344 | |
| 345 | func (a *agent) TailnetConn() *tailnet.Conn { |
| 346 | a.closeMutex.Lock() |
| 347 | defer a.closeMutex.Unlock() |
| 348 | return a.network |
| 349 | } |
| 350 | |
| 351 | func (a *agent) init() { |
| 352 | // pass the "hard" context because we explicitly close the SSH server as part of graceful shutdown. |
no test coverage detected