package
Version:
v0.0.0-...-b79ed68
Opens a new window with list of versions in this module.
Published: Jan 5, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Handler interface {
Route() []Route
}
type Meta struct {
Code int `json:"code"`
Status string `json:"status"`
Message interface{} `json:"message"`
}
type Response struct {
Meta Meta `json:"meta"`
Data interface{} `json:"data"`
}
func ResponseFormatter(code int, status string, message interface{}, data interface{}) Response
Source Files
¶
Click to show internal directories.
Click to hide internal directories.