Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
Package codegen contains data structures and algorithms used by the Goa code generation tool.
|
Package codegen contains data structures and algorithms used by the Goa 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 contains the code generation algorithms to produce code for the service and views packages and dummy implementation for the services defined in the design.
|
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. |
Package dsl implements the Goa DSL.
|
Package dsl implements the Goa 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 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.
|
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. |
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/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 goapb contains protocol buffer message types used by the code generation logic.
|
Package goapb contains protocol buffer message types used by the code generation logic. |
Package http contains HTTP specific constructs that complement the code generated by Goa.
|
Package http contains HTTP specific constructs that complement the code generated by Goa. |
codegen
Package codegen contains code generation algorithms that produce HTTP servers and clients meant to call - or wrap - the Goa endpoints generated by the service package.
|
Package codegen contains code generation algorithms that produce HTTP servers and clients meant to call - or wrap - the Goa endpoints generated by the service package. |
codegen/openapi
Package openapi provides common algorithms and data structures used to generate both OpenAPI v2 and v3 specifications from Goa designs.
|
Package openapi provides common algorithms and data structures used to generate both OpenAPI v2 and v3 specifications from Goa designs. |
codegen/openapi/v2
Package openapiv2 contains the algorithms and data structures used to generate OpenAPI v2 specifications from Goa designs.
|
Package openapiv2 contains the algorithms and data structures used to generate OpenAPI v2 specifications from Goa designs. |
codegen/openapi/v3
Package openapiv3 contains the algorithms and data structures used to generate OpenAPI v3 specifications from Goa designs.
|
Package openapiv3 contains the algorithms and data structures used to generate OpenAPI v3 specifications from Goa designs. |
middleware
Package middleware contains HTTP middlewares that wrap a HTTP handler to provide ancilliary 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 ancilliary functionality such as capturing HTTP details into the request context or printing debug information on incoming requests. |
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. |
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. |
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.
|
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. |
Package security contains the types used by the code generators to secure goa endpoint.
|
Package security contains the types used by the code generators to secure goa endpoint. |
Click to show internal directories.
Click to hide internal directories.