🗃️ Plug to existing Routers
2 items
📄️ Controllers & Deserialization
Controllers are the main way to interact with the application. They are responsible for handling the requests and responses.
📄️ Error handling
Error handling is a crucial part of any application. It is important to handle errors gracefully and provide meaningful feedback to the user. In this guide, we will cover how to handle errors in a Fuego application.
📄️ Middlewares
Fuego supports net/http middlewares.
📄️ OpenAPI Specification
Fuego automatically generates an OpenAPI specification for your API.
📄️ Options
Server options
📄️ Routing
Basic Routing
📄️ Serialization
Serialization is the process of converting Go data structures into formats like JSON or XML for transmission, while deserialization converts them back. Fuego handles this automatically using standard Go packages.
📄️ Testing Fuego Controllers
Fuego provides a MockContext type that makes it easy to test your controllers without using httptest, allowing you to focus on your business logic instead of the HTTP layer.
📄️ Transformation
With Fuego, you can transform data coming in and out of your application. This is useful for a variety of reasons, such as:
📄️ Validation
Validation is the process of ensuring that the data provided to the application