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

Method Header

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

Source from the content-addressed store, hash-verified

47}
48
49func (m *initiationMessage) Header() []byte { return m[:initiationHeaderLen] }
50func (m *initiationMessage) Payload() []byte { return m[initiationHeaderLen:] }
51
52func (m *initiationMessage) Version() uint16 { return binary.BigEndian.Uint16(m[:2]) }

Callers 1

ServerFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected