package
Version:
v0.0.0-...-2be556a
Opens a new window with list of versions in this module.
Published: May 1, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ResponseData(context *gin.Context, status int, payload interface{})
ResponseData params
@context: *gin.Context
status: int
payload: interface{}
func ResponseList(context *gin.Context, status int, payload interface{})
Response params
@context: *gin.Context
status: int
payload: interface{}
ResponseMessages params
@context: *gin.Context
status: int
msg: string
type Respons struct {
Status int `json:"status"`
Meta int `json:"meta"`
Results interface{} `json:"results"`
}
Respons types
Source Files
¶
Click to show internal directories.
Click to hide internal directories.