Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuditFinding ¶
type AuditFinding struct {
Severity string `json:"severity"` // "high", "medium", "low", "info"
Field string `json:"field"`
Rule string `json:"rule"`
Message string `json:"message"`
}
AuditFinding represents a security finding.
type Context ¶
type Context struct {
Lib *protocol.Library
InputFile string
OutputFile string
Lang string
Raw bool
}
Context holds shared state for all CLI commands.
type FieldDiff ¶
type FieldDiff struct {
Type string `json:"type"` // "added", "removed", "changed"
Field string `json:"field"`
OldValue string `json:"old_value,omitempty"`
NewValue string `json:"new_value,omitempty"`
Detail string `json:"detail,omitempty"`
}
FieldDiff describes a difference between two protocol versions.
type TestCase ¶
type TestCase struct {
Name string `json:"name"`
Protocol string `json:"protocol"`
Input string `json:"input"` // hex-encoded bytes for decode test
Expect map[string]any `json:"expect"` // expected decoded fields
Encode map[string]any `json:"encode"` // fields to encode
Output string `json:"output"` // expected hex-encoded bytes for encode test
}
TestCase defines a single protocol test case.
Source Files
¶
- abtest.go
- aigen.go
- apidoc.go
- audit.go
- autocomply.go
- bench.go
- benchsuite.go
- chaos.go
- ci.go
- cli.go
- cloud.go
- compliance.go
- constraint.go
- contract.go
- convert.go
- coverage.go
- datalake.go
- decode.go
- desktop.go
- diagram.go
- diff.go
- diffpcap.go
- doc.go
- docsite.go
- dpdk.go
- ebpf.go
- ecosystem.go
- edu.go
- encode.go
- etl.go
- events.go
- fmt.go
- forensics.go
- fsm.go
- fuzz.go
- gateway.go
- generate.go
- i18n.go
- identify.go
- infer.go
- knowledge.go
- lint.go
- list.go
- mesh.go
- metrics.go
- migrate.go
- mobile.go
- mock.go
- monitor.go
- notebook.go
- optimize.go
- p4gen.go
- pcap.go
- pipe.go
- pkg.go
- playground.go
- plugin_cmd.go
- pqcrypto.go
- project.go
- psl4.go
- repl.go
- sdk.go
- search.go
- sequence.go
- serve.go
- show.go
- stack.go
- standards.go
- tenant.go
- test_cmd.go
- testgen.go
- twin.go
- validate.go
- vdiff.go
Click to show internal directories.
Click to hide internal directories.