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. |
|
middleware/xray
Package xray contains unary and streaming server and client interceptors that create AWS X-Ray segments from the gRPC requests and responses and send the segments to an AWS X-ray daemon.
|
Package xray contains unary and streaming server and client interceptors that create AWS X-Ray segments from the gRPC requests and responses and send the segments to an AWS X-ray daemon. |
|
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. |
|
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 common algorithms and data structures used to generate OpenAPI 3.1 specifications from Loom designs.
|
Package openapi provides common algorithms and data structures used to generate OpenAPI 3.1 specifications from Loom designs. |
|
codegen/openapi/v3
Package openapiv3 contains the algorithms and data structures used to generate OpenAPI 3.1 specifications from Loom designs.
|
Package openapiv3 contains the algorithms and data structures used to generate OpenAPI 3.1 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. |
|
middleware/xray
Package xray contains middleware that creates AWS X-Ray segments from the HTTP requests and responses and send the segments to an AWS X-ray daemon.
|
Package xray contains middleware that creates AWS X-Ray segments from the HTTP requests and responses and send the segments to an AWS X-ray daemon. |
|
internal
|
|
|
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. |
|
Package middleware contains transport independent middlewares.
|
Package middleware contains transport independent middlewares. |
|
xray
Package xray contains the AWS X-Ray segment document type populated by the transport-specific X-Ray middleware.
|
Package xray contains the AWS X-Ray segment document type populated by the transport-specific X-Ray middleware. |
|
xray/xraytest
Package xraytest contains test helpers for package xray that are used by transport-specific X-Ray middleware tests.
|
Package xraytest contains test helpers for package xray that are used by transport-specific X-Ray middleware tests. |
|
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. |
|
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. |
|
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. |
Click to show internal directories.
Click to hide internal directories.