MCPcopy Create free account
hub / github.com/PasarGuard/node / Version

Method Version

backend/wireguard/wireguard.go:215–219  ·  view source on GitHub ↗

Version returns the WireGuard version

()

Source from the content-addressed store, hash-verified

213
214// Version returns the WireGuard version
215func (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

Callers 1

newWithManagerFactoryFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected