Documentation ¶
Index ¶
- Constants
- Variables
- func ErrorHandlerThrow(c *fiber.Ctx, code int, err error) error
- func ErrorNotImplemented(c *fiber.Ctx) error
- func ErrorUnauthorized(c *fiber.Ctx, err error) error
- func FiberListen(app *fiber.App, port string)
- func GetUserAgent(c *fiber.Ctx) ua.UserAgent
- func HanderMiddlewareSecurity(c *fiber.Ctx) error
- func HandlerHealth(c *fiber.Ctx) error
- func ThrowInternalServerError(c *fiber.Ctx, err error) error
- type HTTP
- type IPAddr
Constants ¶
View Source
const ( ENV = "ENV" VERSION = "VERSION" )
Variables ¶
View Source
var ( IsProduction bool Version string = "" )
Functions ¶
func ErrorHandlerThrow ¶
func ErrorNotImplemented ¶
func ErrorNotImplemented(c *fiber.Ctx) error
func ErrorUnauthorized ¶
func FiberListen ¶
func FiberListen(app *fiber.App, port string)
func GetUserAgent ¶
func HanderMiddlewareSecurity ¶
func HanderMiddlewareSecurity(c *fiber.Ctx) error
func HandlerHealth ¶
func HandlerHealth(c *fiber.Ctx) error
Types ¶
Click to show internal directories.
Click to hide internal directories.