(n *ipn.Notify)
| 1512 | } |
| 1513 | |
| 1514 | func (lc *localAPI) Notify(n *ipn.Notify) { |
| 1515 | if n == nil { |
| 1516 | return |
| 1517 | } |
| 1518 | lc.Lock() |
| 1519 | defer lc.Unlock() |
| 1520 | lc.notify = n |
| 1521 | lc.cond.Broadcast() |
| 1522 | } |
| 1523 | |
| 1524 | func statusFromNotify(n *ipn.Notify) *ipnstate.Status { |
| 1525 | st := new(ipnstate.Status) |
no test coverage detected