Documentation
¶
Index ¶
- func RegisterByGin(ginApp *gin.Engine)
- func UpButterReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)
- func UpFormReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)
- func UpJsonReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)
- func UpQueryReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)
- func UpUriReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterByGin ¶
func UpButterReq ¶
func UpFormReq ¶ added in v0.1.1
func UpFormReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)
UpFormReq 强制 Form 绑定
func UpJsonReq ¶ added in v0.1.1
func UpJsonReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)
UpJsonReq 强制 JSON 绑定
func UpQueryReq ¶ added in v0.1.1
func UpQueryReq[T any](action func(ctx component.BetterRequest[T]) component.Response) func(c *gin.Context)
UpQueryReq 强制 Query 绑定
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.