Documentation ¶
Index ¶
- func BindJSON(c *gin.Context, ptr interface{})
- func Bomb(code int, format string, a ...interface{})
- func BombRecovery() gin.HandlerFunc
- func Dangerous(v interface{}, code ...int)
- func QueryBool(c *gin.Context, key string, defaultVal ...bool) bool
- func QueryInt(c *gin.Context, key string, defaultVal ...int) int
- func QueryInt64(c *gin.Context, key string, defaultVal ...int64) int64
- func QueryStr(c *gin.Context, key string, defaultVal ...string) string
- func UrlParamInt(c *gin.Context, field string) int
- func UrlParamInt64(c *gin.Context, field string) int64
- func UrlParamStr(c *gin.Context, field string) string
- type HTTPError
- type UInt64ID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BombRecovery ¶
func BombRecovery() gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.