MCPcopy Create free account
hub / github.com/compozy/agh / ValidateEnvelope

Function ValidateEnvelope

internal/network/validate.go:104–107  ·  view source on GitHub ↗

ValidateEnvelope validates one envelope without returning a normalized copy.

(env Envelope, opts ValidateOptions)

Source from the content-addressed store, hash-verified

102
103// ValidateEnvelope validates one envelope without returning a normalized copy.
104func ValidateEnvelope(env Envelope, opts ValidateOptions) error {
105 _, err := NormalizeEnvelope(env, opts)
106 return err
107}
108
109// ValidateChannel reports whether the channel matches the RFC grammar.
110func ValidateChannel(channel string) error {

Callers 4

buildEnvelopeMethod · 0.85
prepareRuntimeSendMethod · 0.85

Calls 1

NormalizeEnvelopeFunction · 0.85

Tested by 1