package
2.2.5+incompatible
Repository: https://github.com/goadesign/goa.git
Documentation: pkg.go.dev

# Packages

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 middleware contains gRPC server and client interceptors that wraps unary and streaming RPCs to provide additional functionality.
Package goapb contains protocol buffer message types used by the code generation logic.

# Functions

DecodeError returns the error message encoded in the status details if error is a gRPC status error.
EncodeError returns a gRPC status error from the given error with the error response encoded in the status details.
ErrInvalidType is the error returned when the wrong type is given to a encoder or decoder.
NewErrorResponse creates a new ErrorResponse protocol buffer message from the given error.
NewInvoker returns an invoker to invoke gRPC methods.
NewServiceError returns a goa ServiceError type for the given ErrorResponse message.
NewStatusError creates a gRPC status error with the error response messages added to its details.
NewStreamHandler returns a handler to handle streaming gRPC endpoints.
NewUnaryHandler returns a handler to handle unary gRPC endpoints.

# Structs

# Interfaces

# Type aliases