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

Method Funcs

types/lazy/deferred.go:101–103  ·  view source on GitHub ↗

Funcs is a shorthand for &d.DeferredFuncs. The returned value can safely be passed to external code, allowing to defer init funcs without also exposing [DeferredInit.Do].

()

Source from the content-addressed store, hash-verified

99// The returned value can safely be passed to external code,
100// allowing to defer init funcs without also exposing [DeferredInit.Do].
101func (d *DeferredInit) Funcs() *DeferredFuncs {
102 return &d.DeferredFuncs
103}

Callers 3

ExampleDeferredInitFunction · 0.95
web.goFile · 0.80
debughttp.goFile · 0.80

Calls

no outgoing calls

Tested by 1

ExampleDeferredInitFunction · 0.76