package
Version:
v0.0.0-...-248868a
Opens a new window with list of versions in this module.
Published: Jul 27, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Success(c *fiber.Ctx, status int, content interface{}) error
type Causer interface {
Cause() error
}
type Error struct {
Code int `json:"code"`
Message string `json:"message"`
}
type Response struct {
Data interface{} `json:"data,omitempty"`
Message string `json:"message"`
Code string `json:"code"`
StatusCode int `json:"statusCode"`
Error string `json:"error,omitempty"`
Latency string `json:"latency"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.