MCPcopy Create free account
hub / github.com/tailscale/tailcat / EncodeMeowed

Function EncodeMeowed

disco.go:42–47  ·  view source on GitHub ↗

EncodeMeowed encodes a meowed (acknowledgment) packet.

()

Source from the content-addressed store, hash-verified

40
41// EncodeMeowed encodes a meowed (acknowledgment) packet.
42func EncodeMeowed() []byte {
43 b := make([]byte, 0, 4+1)
44 b = append(b, meowMagic[:]...)
45 b = append(b, meowTypePong)
46 return b
47}
48
49// ParseMeowPing parses a meow ping packet, returning the sender's
50// node public key and disco public key. The pkt must have already

Callers 1

StartMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected