Documentation
¶
Index ¶
- func BindMultipartFile(c *gin.Context, ...)
- func BindMultipartFiles(c *gin.Context, handler func(filename string, file io.Reader))
- func Controller(list ...func(g *gin.RouterGroup))
- func DELETE[P any, R any](uri string, server func(db *gorm.DB, param P) R)
- func Fail(c *gin.Context, code int, err error)
- func GET[P any, R any](uri string, server func(db *gorm.DB, param P) R)
- func Init(f func(r *gin.Engine))
- func Interceptor(handlers ...func(g *gin.Context))
- func POST[P any, R any](uri string, server func(db *gorm.DB, param P) R)
- func PUT[P any, R any](uri string, server func(db *gorm.DB, param P) R)
- func Server[P any, R any](c *gin.Context, f func(db *gorm.DB, param P) R)
- func Success(c *gin.Context, data any)
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindMultipartFile ¶ added in v1.3.6
func BindMultipartFiles ¶ added in v1.3.7
Types ¶
Click to show internal directories.
Click to hide internal directories.