Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
protoc-gen-foravocab
command
Command protoc-gen-foravocab is a buf/protoc plugin that reads the FORA vocabulary options off every annotated field and enum value and emits, per axis and per SDK language (Go, TypeScript, Python), a typed package/module with one string constant per registered token, an All/ALL collection, and an IsRegistered/isRegistered/is_registered membership check.
|
Command protoc-gen-foravocab is a buf/protoc plugin that reads the FORA vocabulary options off every annotated field and enum value and emits, per axis and per SDK language (Go, TypeScript, Python), a typed package/module with one string constant per registered token, an All/ALL collection, and an IsRegistered/isRegistered/is_registered membership check. |
|
Package conformance — contract.go is the SINGLE source of "which proto packages make up the wire contract".
|
Package conformance — contract.go is the SINGLE source of "which proto packages make up the wire contract". |
|
corpusgen
command
Command corpusgen emits the cross-language validation corpus: for every message field that carries a protovalidate field rule, a valid baseline plus boundary-violating mutants (one per constraint), each rendered as proto-JSON with Go protovalidate's verdict recorded as the oracle.
|
Command corpusgen emits the cross-language validation corpus: for every message field that carries a protovalidate field rule, a valid baseline plus boundary-violating mutants (one per constraint), each rendered as proto-JSON with Go protovalidate's verdict recorded as the oracle. |
|
requiredgen
command
Command requiredgen emits required_fields.json: per message, the JSON field names whose proto ZERO value is rejected by the field's own protovalidate rule (an enum not_in:[0], a string min_len≥1 or a pattern that rejects "", a numeric gte≥1, or an explicit required).
|
Command requiredgen emits required_fields.json: per message, the JSON field names whose proto ZERO value is rejected by the field's own protovalidate rule (an enum not_in:[0], a string min_len≥1 or a pattern that rejects "", a numeric gte≥1, or an explicit required). |
|
uniquegen
command
Command uniquegen emits unique_items.json: per message, the JSON field names of every repeated field declaring (buf.validate.field).repeated.unique — i.e.
|
Command uniquegen emits unique_items.json: per message, the JSON field names of every repeated field declaring (buf.validate.field).repeated.unique — i.e. |
|
gen
|
|
|
sdk
|
|
|
go/connect
Package connect is the opt-in Connect-Go CLIENT binding over the transport-neutral sdk/go/core L2 substance.
|
Package connect is the opt-in Connect-Go CLIENT binding over the transport-neutral sdk/go/core L2 substance. |
|
go/connectserver
Package connectserver is the opt-in Connect-Go SERVER binding over the transport-neutral sdk/go/core L2 substance: the verify http-seam handlers (NewExchangeServiceHandler, NewBrokerServiceHandler and NewCatalogServiceHandler — request-id outermost · verify · validate · error-detail), the reject→connect.Code mapping (RejectCode · IsBodyTooLarge · WriteReject), and the EMIT direction of the ADR-019 ErrorDetail↔Connect bridge (AsConnectError — a server emits a typed error detail).
|
Package connectserver is the opt-in Connect-Go SERVER binding over the transport-neutral sdk/go/core L2 substance: the verify http-seam handlers (NewExchangeServiceHandler, NewBrokerServiceHandler and NewCatalogServiceHandler — request-id outermost · verify · validate · error-detail), the reject→connect.Code mapping (RejectCode · IsBodyTooLarge · WriteReject), and the EMIT direction of the ADR-019 ErrorDetail↔Connect bridge (AsConnectError — a server emits a typed error detail). |
|
go/core
Package core is the transport-neutral L2 substance of the FORA SDK: the unified offer Verifier, the fail-closed {verified, rejected} contract (Result), the per-URI discovery shape both discovery verbs return (DiscoveryResult / OfferGroupResult, sorted by Verifier.SortGroups), the unforgeable VerifiedOffer compile guard with the loud RejectedOffer.Unsafe escape, the client signing http.RoundTripper (NewSigningTransport), the injected ReplayStore interface, and the neutral request-id mint/middleware — all built on the sdk/go/helpers L1 primitives with net/http as the only transport dependency (ADR-020 §2/§3).
|
Package core is the transport-neutral L2 substance of the FORA SDK: the unified offer Verifier, the fail-closed {verified, rejected} contract (Result), the per-URI discovery shape both discovery verbs return (DiscoveryResult / OfferGroupResult, sorted by Verifier.SortGroups), the unforgeable VerifiedOffer compile guard with the loud RejectedOffer.Unsafe escape, the client signing http.RoundTripper (NewSigningTransport), the injected ReplayStore interface, and the neutral request-id mint/middleware — all built on the sdk/go/helpers L1 primitives with net/http as the only transport dependency (ADR-020 §2/§3). |
|
go/examples/agent
command
Command agent is the worked Go agent example the documentation site shows.
|
Command agent is the worked Go agent example the documentation site shows. |
|
go/helpers
Package helpers is the FORA SDK low-tier L1: stateless protocol helpers built directly on the L0 generated wire types (github.com/FORA-Protocol/protocol/gen/go).
|
Package helpers is the FORA SDK low-tier L1: stateless protocol helpers built directly on the L0 generated wire types (github.com/FORA-Protocol/protocol/gen/go). |
|
go/internal/endpointrule
Package endpointrule holds the one predicate that decides whether an endpoint a well-known manifest advertises may be used at all.
|
Package endpointrule holds the one predicate that decides whether an endpoint a well-known manifest advertises may be used at all. |
|
go/internal/failure
Package failure holds the rendering the SDK's two failure taxonomies share.
|
Package failure holds the rendering the SDK's two failure taxonomies share. |
|
go/internal/hostredact
Package hostredact keeps a credential out of a message built from a host reference.
|
Package hostredact keeps a credential out of a message built from a host reference. |
|
go/internal/lrucache
Package lrucache is the one bounded, least-recently-used map the SDK's caching tiers share.
|
Package lrucache is the one bounded, least-recently-used map the SDK's caching tiers share. |
|
go/internal/vectorio
Package vectorio holds the byte semantics of a committed conformance corpus.
|
Package vectorio holds the byte semantics of a committed conformance corpus. |
Click to show internal directories.
Click to hide internal directories.