Path | Synopsis |
---|---|
codegen | Package codegen contains data structures and algorithms used by the Goa code generation tool. |
codegen/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. |
codegen/example | Package example contains code generation algorithms to produce an example server and client implementation for the transports defined in the design. |
codegen/generator | Package generator contains the code generation algorithms for a service server, client, and OpenAPI specification. |
codegen/service | Package service contains the code generation algorithms to produce code for the service and views packages and dummy implementation for the services defined in the design. |
dsl | Package dsl implements the Goa DSL. |
eval | Package eval implements a DSL engine for executing arbitrary Go DSLs. |
expr | Package expr defines expressions and data types used by the DSL and the code generators. |
grpc | 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. |
grpc/codegen | Package codegen contains the code generation logic to generate gRPC service definitions (.proto files) from the design DSLs and the corresponding server and client code that wraps the goa-generated endpoints with the protocol buffer compiler (protoc) generated clients and servers. |
grpc/middleware | Package middleware contains gRPC server and client interceptors that wraps unary and streaming RPCs to provide additional functionality. |
grpc/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. |
grpc/pb | Package goapb contains protocol buffer message types used by the code generation logic. |
http | Package http contains HTTP specific constructs that complement the code generated by Goa. |
http/codegen | Package codegen contains code generation logic to generate HTTP server and client that wrap the generated goa endpoint and the OpenAPI 2.0 specifications for the HTTP endpoints. |
http/codegen/openapi | Package openapi produces OpenAPI Specification 2.0 (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) for the HTTP endpoints. |
http/middleware | Package middleware contains HTTP middlewares that wrap a HTTP handler to provide additional functionality. |
http/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. |
middleware | Package middleware contains transport independent middlewares. |
middleware/xray | Package xray contains the AWS X-Ray segment document type populated by the transport-specific X-Ray middleware. |
middleware/xray/xraytest | Package xraytest contains test helpers for package xray that are used by transport-specific X-Ray middleware tests. |
pkg | Package goa implements a Go framework for writing microservices that promotes best practice by providing a single source of truth from which server code, client code, and documentation is derived. |
security | Package security contains the types used by the code generators to secure goa endpoint. |
Updated 2019-11-29. Refresh now. Tools for package owners.