Documentation
¶
Overview ¶
Package openapi provides a transport layer using HTTP. In this layer, most of the code is generated: low level HTTP handlers, request and response structs and object validation.
This is wired up to the service layer using "Bindings" which are just glue code which call service APIs from the endpoint handlers and deal with errors.
Within this package, all you will find is fx providers for the actual HTTP server, the router and the bindings. The bindings package is where most of the logic is and it depends on the router to mount the bindings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package bindings is responsible for providing a bridge between the code that is generated from the OpenAPI specification that comprises the "Transport" layer and the code that implements the product, or the "Service" layer.
|
Package bindings is responsible for providing a bridge between the code that is generated from the OpenAPI specification that comprises the "Transport" layer and the code that implements the product, or the "Service" layer. |
Package openapi provides primitives to interact with the openapi HTTP API.
|
Package openapi provides primitives to interact with the openapi HTTP API. |
Click to show internal directories.
Click to hide internal directories.