Documentation
¶
Overview ¶
Package perkv1 embeds the canonical machine-readable perk/v1 contract: the JSON Schema document and the fixture frames plus their manifest, all under protocol/perk-v1. It is the single compiled-in source for tooling such as the plugin conformance runner, so the contract is never copied into a binary or another directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fixture ¶
Fixture returns one canonical fixture frame by file name — the manifest entry's "file" value. The frame is a complete wire frame (newline-terminated JSON).
func FixtureNames ¶
FixtureNames lists every fixture file embedded in this package, in sorted order. Tests use it to prove the fixture directory and the manifest never drift apart.
Types ¶
type Source ¶
type Source struct{}
Source is the canonical protocol-asset provider for the conformance engine. It implements the engine's source contract with the embedded assets.
func (Source) FixtureNames ¶
FixtureNames returns every embedded fixture file name in sorted order — the contract digest's fixture enumeration.