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

Method Header

control/controlbase/messages.go:80–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80func (m *responseMessage) Header() []byte { return m[:headerLen] }
81func (m *responseMessage) Payload() []byte { return m[headerLen:] }
82
83func (m *responseMessage) Type() byte { return m[0] }

Callers 15

continueClientHandshakeFunction · 0.95
TestUserDialSelfFunction · 0.45
serveMethod · 0.45
serveTailscaleUpMethod · 0.45
writeJSONFunction · 0.45
TestPathPrefixFunction · 0.45
TestRequireTailscaleIPFunction · 0.45
assetsHandlerFunction · 0.45
openPrecompressedFileFunction · 0.45
devServerProxyFunction · 0.45
brokenMITMHandlerFunction · 0.45

Calls

no outgoing calls

Tested by 8

TestUserDialSelfFunction · 0.36
TestPathPrefixFunction · 0.36
TestRequireTailscaleIPFunction · 0.36
brokenMITMHandlerFunction · 0.36
runDialPlanTestFunction · 0.36
runMethod · 0.36
TestParseRateLimitErrorFunction · 0.36