Version returns the WireGuard version
()
| 213 | |
| 214 | // Version returns the WireGuard version |
| 215 | func (wg *WireGuard) Version() string { |
| 216 | wg.mu.RLock() |
| 217 | defer wg.mu.RUnlock() |
| 218 | return wg.version |
| 219 | } |
| 220 | |
| 221 | // Logs returns the log channel as a receive-only channel. |
| 222 | // The channel is closed when Shutdown is called; callers should use range |
no outgoing calls
no test coverage detected