package
Version:
v0.0.0-...-d785689
Opens a new window with list of versions in this module.
Published: May 17, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Error(ctx *fiber.Ctx, err *fiber.Error, message ...string) error
func Success(ctx *fiber.Ctx, code int, data ...interface{}) error
type JSONResponse struct {
StatusCode int `json:"status_code"`
Message string `json:"message,omitempty"`
Data interface{} `json:"data,omitempty"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.