Versions in this module Expand all Collapse all v0 v0.3.4 Nov 5, 2026 v0.3.3 Nov 4, 2026 Changes in this version + func CheckInstall(ctx context.Context, manifest []byte, files map[string][]byte) error + func GenerateTemplateFiles(opts TemplateOptions) (map[string][]byte, error) + func Pack(pkg *Package) ([]byte, error) + func Scaffold(opts TemplateOptions) error + type CaseResult struct + DurationMS float64 + Error string + Name string + OK bool + Status int + type FixtureCase struct + Body json.RawMessage + Headers map[string]string + Method string + Name string + Path string + Query map[string]string + WantFields map[string]any + WantStatus int + type FixtureSuite struct + Cases []FixtureCase + type HotTiming struct + Batches int + Candidates int + Deterministic bool + MaxBatchMS float64 + PerCandP95MS float64 + SlowCount int + TotalMS float64 + type Issue struct + Field string + Message string + Rule string + func (i Issue) String() string + type Package struct + Dir string + Files map[string][]byte + Manifest plugins.Manifest + ManifestRaw json.RawMessage + func FromFiles(manifestRaw []byte, files map[string][]byte) (*Package, error) + func Load(target string) (*Package, error) + func LoadDir(dir string) (*Package, error) + func LoadPkgBytes(raw []byte) (*Package, error) + type Report struct + DeclaredHosts []string + DurationMS float64 + Errors []Issue + Exports map[string]bool + HotPath *HotTiming + Kind string + OK bool + ObservedHosts []string + PluginID string + Routes []RouteTiming + Version string + Warnings []Issue + func Check(ctx context.Context, pkg *Package) (rep Report) + func (r Report) JSON() ([]byte, error) + func (r Report) Text() string + type RouteTiming struct + DeadlineMS int64 + Duration time.Duration + DurationMS float64 + Error string + Method string + OK bool + Route string + Skipped bool + Status int + type TemplateOptions struct + Dir string + ID string + Kind string + Lang string + Name string + type TestReport struct + Cases []CaseResult + Integration *CaseResult + OK bool + PluginID string + func RunTests(ctx context.Context, pkg *Package, etherBin string) (TestReport, error) + func (tr TestReport) Text() string