MCPcopy
hub / github.com/netbirdio/netbird / ServerURLs

Method ServerURLs

shared/relay/client/manager.go:255–257  ·  view source on GitHub ↗

ServerURLs returns the addresses of the relay servers.

()

Source from the content-addressed store, hash-verified

253
254// ServerURLs returns the addresses of the relay servers.
255func (m *Manager) ServerURLs() []string {
256 return m.serverPicker.ServerURLs.Load().([]string)
257}
258
259// RelayConnectError returns the error from the most recent failed home relay
260// reconnect attempt, or nil if the relay last connected successfully.

Callers 3

TestNotifierDoubleAddFunction · 0.95
GetRelayStatesMethod · 0.80
InitMethod · 0.80

Calls 1

LoadMethod · 0.80

Tested by 1

TestNotifierDoubleAddFunction · 0.76