MCPcopy Index your code
hub / github.com/coder/coder / getBlockEndpoints

Method getBlockEndpoints

tailnet/node.go:245–249  ·  view source on GitHub ↗

getBlockEndpoints returns the value of the most recent setBlockEndpoints call.

()

Source from the content-addressed store, hash-verified

243// getBlockEndpoints returns the value of the most recent setBlockEndpoints
244// call.
245func (u *nodeUpdater) getBlockEndpoints() bool {
246 u.L.Lock()
247 defer u.L.Unlock()
248 return u.blockEndpoints
249}

Callers 1

GetBlockEndpointsMethod · 0.45

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected