Discover Packages
github.com/fabiotavarespr/liveProject-asynchronous-event-handling
app
controllers
package
Version:
v0.0.0-...-0549c05
Opens a new window with list of versions in this module.
Published: Aug 8, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func GetHealth(c *fiber.Ctx) error
GetHealth func check health.
@Description Health check.
@Summary health check
@Produce json
@Success 200 {array} models.Health
@Router /health [get]
func PostOrder(c *fiber.Ctx) error
PostOrder func for post a new order.
@Description Create a new order.
@Summary create a new order
@Tags Order
@Accept json
@Produce json
@Param order body models.Order true "Order"
@Success 201 {object} models.Order
@Router /v1/order [post]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.