Documentation
¶
Index ¶
- Constants
- func ErrorResponse(c *gin.Context, code int, message string)
- func StatusFromError(c *gin.Context, err error) (*gin.Context, int, string)
- func SuccessResponse(c *gin.Context, code int, message string, data interface{})
- func SuccessfulOperationResponse(c *gin.Context, code int, message string, name string)
- type IdentityData
- type Response
Constants ¶
View Source
const IdentityKey = "identity"
Variables ¶
This section is empty.
Functions ¶
func SuccessResponse ¶
Types ¶
type IdentityData ¶
Click to show internal directories.
Click to hide internal directories.