package
Version:
v0.0.0-...-4bb85b7
Opens a new window with list of versions in this module.
Published: Apr 10, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Claims struct {
UserId int64 `json:"user_id"`
Username string `json:"username"`
Password string `json:"password"`
jwt.StandardClaims
}
func (g *Gin) Response(httpCode int, Msg string, data interface{})
Response setting gin.JSON
type Response struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data interface{} `json:"data"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.