MCPcopy Index your code
hub / github.com/tailscale/tailscale / getStatusCallback

Method getStatusCallback

wgengine/userspace.go:1078–1082  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1076}
1077
1078func (e *userspaceEngine) getStatusCallback() StatusCallback {
1079 e.mu.Lock()
1080 defer e.mu.Unlock()
1081 return e.statusCallback
1082}
1083
1084var ErrEngineClosing = errors.New("engine closing; no status")
1085

Callers 1

RequestStatusMethod · 0.95

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected