package
1.1.0
Repository: https://github.com/netr/napi.git
Documentation: pkg.go.dev

# Functions

New creates a new Sender struct that can be used to easily send ErrorResponse, FormErrorResponse, and SuccessResponse to a fiber.Ctx.

# Structs

ErrorResponse wraps errors with a message @Description Wrap failed API responses with a message and error.
FormErrorResponse wraps form errors with a message @Description Wrapped failed API responses with an ErrorBag and message.
Sender is a struct that holds the fiber.Ctx needed to send curated API responses.
SuccessResponse wraps return data with a message @Description Wrap successful API responses with a message and data.

# Type aliases

No description provided by the author