MCPcopy Create free account
hub / github.com/tailscale/tailcat / Status

Method Status

tailcat.go:1322–1329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1320}
1321
1322func (b *locoBackend) Status() *ipnstate.Status {
1323 mc := b.sys.MagicSock.Get()
1324 eng := b.sys.Engine.Get()
1325 var sb ipnstate.StatusBuilder
1326 mc.UpdateStatus(&sb)
1327 eng.UpdateStatus(&sb)
1328 return sb.Status()
1329}
1330
1331func tcAddrForKey(k key.NodePublic) netip.Addr {
1332 var a [16]byte

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
StatusMethod · 0.45

Tested by

no test coverage detected