Directories
¶
| Path | Synopsis |
|---|---|
|
clue
|
|
|
cmd
|
|
|
loom
command
|
|
|
Package codegen contains data structures and algorithms used by the Loom code generation tool.
|
Package codegen contains data structures and algorithms used by the Loom code generation tool. |
|
cli
Package cli contains helpers used by transport-specific command-line client generators for parsing the command-line flags to identify the service and the method to make a request along with the request payload to be sent.
|
Package cli contains helpers used by transport-specific command-line client generators for parsing the command-line flags to identify the service and the method to make a request along with the request payload to be sent. |
|
codegentest
Package codegentest provides utilities to assist writing unit test for codegen packages.
|
Package codegentest provides utilities to assist writing unit test for codegen packages. |
|
example
Package example contains code generation algorithms to produce an example server and client implementation for the transports defined in the design.
|
Package example contains code generation algorithms to produce an example server and client implementation for the transports defined in the design. |
|
generator
Package generator contains the code generation algorithms for a service server, client, and OpenAPI specification.
|
Package generator contains the code generation algorithms for a service server, client, and OpenAPI specification. |
|
service
Package service is the base stage of the Loom codegen pipeline.
|
Package service is the base stage of the Loom codegen pipeline. |
|
template
Package template provides a shared template reader for codegen packages.
|
Package template provides a shared template reader for codegen packages. |
|
testutil
Package testutil provides testing utilities for the Loom code generation framework.
|
Package testutil provides testing utilities for the Loom code generation framework. |
|
Package dsl implements the Loom DSL.
|
Package dsl implements the Loom DSL. |
|
Package eval implements a DSL engine for executing arbitrary Go DSLs.
|
Package eval implements a DSL engine for executing arbitrary Go DSLs. |
|
Package expr defines expressions and data types used by the DSL and the code generators.
|
Package expr defines expressions and data types used by the DSL and the code generators. |
|
Package grpc contains code generation logic to produce a server that serves gRPC requests and a client that encode requests to and decode responses from a gRPC server.
|
Package grpc contains code generation logic to produce a server that serves gRPC requests and a client that encode requests to and decode responses from a gRPC server. |
|
codegen
Package codegen generates gRPC servers, clients, and .proto definitions from an evaluated Loom design.
|
Package codegen generates gRPC servers, clients, and .proto definitions from an evaluated Loom design. |
|
middleware
Package middleware contains gRPC server and client interceptors that wraps unary and streaming RPCs to provide additional functionality.
|
Package middleware contains gRPC server and client interceptors that wraps unary and streaming RPCs to provide additional functionality. |
|
middleware/otel
Package otel provides thin OpenTelemetry helpers for Loom gRPC servers and clients.
|
Package otel provides thin OpenTelemetry helpers for Loom gRPC servers and clients. |
|
pb
Package loompb contains protocol buffer message types used by the code generation logic.
|
Package loompb contains protocol buffer message types used by the code generation logic. |
|
Package http contains HTTP specific constructs that complement the code generated by Loom.
|
Package http contains HTTP specific constructs that complement the code generated by Loom. |
|
cli
Package cli contains runtime helpers for generated HTTP command-line clients.
|
Package cli contains runtime helpers for generated HTTP command-line clients. |
|
codegen
Package codegen generates HTTP servers, clients, and OpenAPI specifications from an evaluated Loom design.
|
Package codegen generates HTTP servers, clients, and OpenAPI specifications from an evaluated Loom design. |
|
codegen/openapi
Package openapi provides the active schema model and shared helpers used to generate OpenAPI 3.1 and 3.2 specifications from Loom designs.
|
Package openapi provides the active schema model and shared helpers used to generate OpenAPI 3.1 and 3.2 specifications from Loom designs. |
|
codegen/openapi/v3
Package openapiv3 contains the algorithms and data structures used to generate OpenAPI 3.1 and 3.2 specifications from Loom designs.
|
Package openapiv3 contains the algorithms and data structures used to generate OpenAPI 3.1 and 3.2 specifications from Loom designs. |
|
middleware
Package middleware contains HTTP middlewares that wrap a HTTP handler to provide ancillary functionality such as capturing HTTP details into the request context or printing debug information on incoming requests.
|
Package middleware contains HTTP middlewares that wrap a HTTP handler to provide ancillary functionality such as capturing HTTP details into the request context or printing debug information on incoming requests. |
|
middleware/otel
Package otel provides thin OpenTelemetry middleware helpers for Loom HTTP servers and clients.
|
Package otel provides thin OpenTelemetry middleware helpers for Loom HTTP servers and clients. |
|
internal
|
|
|
byteschema
Package byteschema projects decoded byte lengths into JSON string constraints for the standard padded base64 language accepted by the built-in JSON codec.
|
Package byteschema projects decoded byte lengths into JSON string constraints for the standard padded base64 language accepted by the built-in JSON codec. |
|
cmd/loomsource
command
Command loomsource manages the worktree-local Loom source used by temporary integration modules.
|
Command loomsource manages the worktree-local Loom source used by temporary integration modules. |
|
cmd/release
command
Command release publishes a verified Loom release.
|
Command release publishes a verified Loom release. |
|
designfingerprint
Package designfingerprint computes deterministic fingerprints of evaluated designs.
|
Package designfingerprint computes deterministic fingerprints of evaluated designs. |
|
docsmeta
Package docsmeta owns the checked-in documentation version metadata.
|
Package docsmeta owns the checked-in documentation version metadata. |
|
encodingmeta
Package encodingmeta reads authored representation overrides without choosing a transport codec or depending on the expression and schema packages.
|
Package encodingmeta reads authored representation overrides without choosing a transport codec or depending on the expression and schema packages. |
|
enumvalue
Package enumvalue projects resolved authored values onto their declared host shapes.
|
Package enumvalue projects resolved authored values onto their declared host shapes. |
|
examplegen
Package examplegen derives deterministic generators for stable codegen scopes.
|
Package examplegen derives deterministic generators for stable codegen scopes. |
|
examplevalue
Package examplevalue carries generated example selections until projection.
|
Package examplevalue carries generated example selections until projection. |
|
httpcodec
Package httpcodec owns the built-in HTTP runtime's role-specific codec selection.
|
Package httpcodec owns the built-in HTTP runtime's role-specific codec selection. |
|
identifier
Package identifier generates opaque identifiers from checked entropy.
|
Package identifier generates opaque identifiers from checked entropy. |
|
jsonkey
Package jsonkey defines canonical JSON object member names for DSL map keys.
|
Package jsonkey defines canonical JSON object member names for DSL map keys. |
|
loomsource
Package loomsource resolves the Loom checkout used by temporary integration modules.
|
Package loomsource resolves the Loom checkout used by temporary integration modules. |
|
naming
Package naming derives the Go identifiers, file names and directory names that Loom generates from design names.
|
Package naming derives the Go identifiers, file names and directory names that Loom generates from design names. |
|
openapiimport
Package openapiimport analyzes OpenAPI documents into a deterministic, transport-neutral model suitable for later Loom design generation.
|
Package openapiimport analyzes OpenAPI documents into a deterministic, transport-neutral model suitable for later Loom design generation. |
|
openapiversion
Package openapiversion owns validation and normalization of Loom's openapi:version metadata value.
|
Package openapiversion owns validation and normalization of Loom's openapi:version metadata value. |
|
release
Package release implements Loom's transactional release workflow.
|
Package release implements Loom's transactional release workflow. |
|
schematest
Package schematest runs independent JSON Schema contract checks in integration tests.
|
Package schematest runs independent JSON Schema contract checks in integration tests. |
|
securitygen
Package securitygen shares credential wire classification across generators.
|
Package securitygen shares credential wire classification across generators. |
|
testprocess
Package testprocess owns subprocess lifetimes in integration test harnesses.
|
Package testprocess owns subprocess lifetimes in integration test harnesses. |
|
unionjson
Package unionjson projects evaluated union contracts into typed JSON adapters.
|
Package unionjson projects evaluated union contracts into typed JSON adapters. |
|
Package jsonrpc provides constructs and utilities for building JSON-RPC 2.0 services with Loom.
|
Package jsonrpc provides constructs and utilities for building JSON-RPC 2.0 services with Loom. |
|
codegen
Package codegen generates JSON-RPC 2.0 servers and clients from an evaluated Loom design.
|
Package codegen generates JSON-RPC 2.0 servers and clients from an evaluated Loom design. |
|
observability
|
|
|
otel
Package otel provides framework-owned OpenTelemetry bootstrap and transport instrumentation helpers.
|
Package otel provides framework-owned OpenTelemetry bootstrap and transport instrumentation helpers. |
|
transport
Package transport defines the dependency-free observer contract used by Loom's generated HTTP, JSON-RPC, and Loom-MCP transports.
|
Package transport defines the dependency-free observer contract used by Loom's generated HTTP, JSON-RPC, and Loom-MCP transports. |
|
Package loom contains the core runtime types and helpers for the Loom framework.
|
Package loom contains the core runtime types and helpers for the Loom framework. |
|
internal/keyttl
Package keyttl applies the TTL of a pulse Redis key inside the Lua script that writes the key, so the write and its expiry are one atomic step.
|
Package keyttl applies the TTL of a pulse Redis key inside the Lua script that writes the key, so the write and its expiry are one atomic step. |
|
internal/redistest
Package redistest provides the Redis server used by the pulse test suites.
|
Package redistest provides the Redis server used by the pulse test suites. |
|
pool
Package pool keeps its cross-map coordination scripts close to the pool admission code.
|
Package pool keeps its cross-map coordination scripts close to the pool admission code. |
|
rmap
Package rmap maintains a Redis-backed replicated map whose local state is ordered by monotonic revisions and updated through pubsub notifications.
|
Package rmap maintains a Redis-backed replicated map whose local state is ordered by monotonic revisions and updated through pubsub notifications. |
|
scripts
|
|
|
coveragecheck
command
Command coveragecheck enforces consumer-aware statement coverage baselines.
|
Command coveragecheck enforces consumer-aware statement coverage baselines. |
|
docscheck
command
Command docscheck validates Loom's maintained Markdown documentation.
|
Command docscheck validates Loom's maintained Markdown documentation. |
|
gosources
command
Command gosources filters generated Go files from a list of source paths.
|
Command gosources filters generated Go files from a list of source paths. |
|
jsonv2check
command
Command jsonv2check rejects custom JSON marshalers that discard nested deterministic-ordering requirements.
|
Command jsonv2check rejects custom JSON marshalers that discard nested deterministic-ordering requirements. |
|
valuecontractcheck
command
Command valuecontractcheck verifies that enabled Go/Lean conformance actually executed its required case families and passed, rather than skipping silently.
|
Command valuecontractcheck verifies that enabled Go/Lean conformance actually executed its required case families and passed, rather than skipping silently. |
|
Package security contains the types used by the code generators to secure Loom endpoint.
|
Package security contains the types used by the code generators to secure Loom endpoint. |
|
Package vet analyzes evaluated Loom designs and their consuming Go module.
|
Package vet analyzes evaluated Loom designs and their consuming Go module. |
Click to show internal directories.
Click to hide internal directories.