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

Function init

cmd/tailscaled/webclient.go:14–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12)
13
14func init() {
15 hookConfigureWebClient.Set(func(lb *ipnlocal.LocalBackend) {
16 lb.ConfigureWebClient(&local.Client{
17 Socket: args.socketpath,
18 UseSocketOnly: args.socketpath != paths.DefaultTailscaledSocket(),
19 })
20 })
21}

Callers

nothing calls this directly

Calls 3

DefaultTailscaledSocketFunction · 0.92
SetMethod · 0.65
ConfigureWebClientMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…