MCPcopy Create free account
hub / github.com/Hidden-Node/GooseRelayVPN-AndroidClient / IsProbePayload

Function IsProbePayload

internal/protocol/protocol.go:37–39  ·  view source on GitHub ↗
(payload []byte)

Source from the content-addressed store, hash-verified

35}
36
37func IsProbePayload(payload []byte) bool {
38 return bytes.HasPrefix(payload, []byte(ProbePrefix+"|")) || bytes.Equal(payload, []byte(ProbePrefix))
39}
40
41func DecodeVersionInfo(payload []byte) (*VersionInfo, error) {
42 var info VersionInfo

Callers 1

routeIncomingMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected