Documentation
¶
Index ¶
- func BadRequest(c *gin.Context, message string)
- func Conflict(c *gin.Context, code, message string, details any)
- func Created(c *gin.Context, data any)
- func Err(c *gin.Context, status int, code, message string)
- func ErrWithDetails(c *gin.Context, status int, code, message string, details any)
- func Forbidden(c *gin.Context, message string)
- func Internal(c *gin.Context)
- func NoContent(c *gin.Context)
- func NotFound(c *gin.Context, message string)
- func OK(c *gin.Context, data any)
- func Unauthorized(c *gin.Context, message string)
- type Envelope
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func ErrWithDetails ¶
func Unauthorized ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.